[issue14297] Custom string formatter doesn't work like builtin str.format

2012-03-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: We know that string.Formatter does not properly duplicate str.format. #13598 is specifically about use of {}. Search "string Formatter" for other related issues. -- nosy: +terry.reedy resolution: -> duplicate status: open -> closed superseder: -> stri

[issue14297] Custom string formatter doesn't work like builtin str.format

2012-03-13 Thread R. David Murray
Changes by R. David Murray : -- nosy: +eric.smith versions: +Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue14297] Custom string formatter doesn't work like builtin str.format

2012-03-13 Thread Paul McMillan
New submission from Paul McMillan : In Python 2.7, I can use an empty format string to indicate automatically numbered positional arguments when formatting the builtin string object. http://docs.python.org/release/2.7/library/string.html#format-string-syntax If I subclass string.Formatter, thi