[Patches] [ python-Patches-1673759 ] '%G' string formatting doesn't catch same errors as '%g'

SourceForge.net noreply at sourceforge.net
Tue Jun 5 01:11:06 CEST 2007


Patches item #1673759, was opened at 2007-03-05 03:45
Message generated for change (Comment added) made by sonderblade
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1673759&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core (C code)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Eric V. Smith (ericvsmith)
Assigned to: Nobody/Anonymous (nobody)
Summary: '%G' string formatting doesn't catch same errors as '%g'

Initial Comment:
See http://python.org/sf/1673757



----------------------------------------------------------------------

Comment By: Björn Lindqvist (sonderblade)
Date: 2007-06-05 01:11

Message:
Logged In: YES 
user_id=51702
Originator: NO

Shouldn't this be committed now?

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2007-03-18 04:57

Message:
Logged In: YES 
user_id=6380
Originator: NO

Changing the category to 2.5; since the bug appears in 2.5 and 2.6, this
should be applied to 2.5 and to the trunk (i.e. 2.6) and then it will
automatically be merged into 3.0 when the next merge is done.

----------------------------------------------------------------------

Comment By: Paul Hankin (paulhankin)
Date: 2007-03-10 22:50

Message:
Logged In: YES 
user_id=1740099
Originator: NO

lgtm

----------------------------------------------------------------------

Comment By: Eric V. Smith (ericvsmith)
Date: 2007-03-10 19:58

Message:
Logged In: YES 
user_id=411198
Originator: YES

Improved summary.

----------------------------------------------------------------------

Comment By: Eric V. Smith (ericvsmith)
Date: 2007-03-10 19:57

Message:
Logged In: YES 
user_id=411198
Originator: YES

Thanks for the catch on the line length.  I've updated the patch and
attached it.

File Added: 1673757-1.diff

----------------------------------------------------------------------

Comment By: Paul Hankin (paulhankin)
Date: 2007-03-10 19:01

Message:
Logged In: YES 
user_id=1740099
Originator: NO

Your change in Objects/stringobject.c and Objects/unicodeobject.c goes
over the 79 character line limit.

Otherwise looks ok - compiles, runs, tests look correct and pass.

----------------------------------------------------------------------

Comment By: Eric V. Smith (ericvsmith)
Date: 2007-03-06 12:10

Message:
Logged In: YES 
user_id=411198
Originator: YES

Updated diff file attached, with correct filenames and with updated tests.
File Added: 1673757.diff

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1673759&group_id=5470


More information about the Patches mailing list