[issue2526] str.format() :n format does not appear to work for int and float

2008-04-29 Thread Eric Smith
Eric Smith <[EMAIL PROTECTED]> added the comment: Committed fix in r62586. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2526] str.format() :n format does not appear to work for int and float

2008-04-05 Thread Eric Smith
Eric Smith <[EMAIL PROTECTED]> added the comment: The same issue exists with floats: # continuing the example >>> locale.format("%g", 12345, True) '12,345' >>> "{0:n}".format(12345.0) '12345' The same issue exists in 2.6. -- title: str.format() :n format does not appear to work -> str.