Phil Elson added the comment:

The current patch fails to catch the fact that auto vs manual numbering has 
been used in following corner case:

from string import Formatter
print(Formatter().format("{0:{}}", 'foo', 5))


To fix this, without adding state to the formatter instance, some more 
information is going to need to be passed to the _vformat method.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13598>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to