Eric Smith <e...@trueblade.com> added the comment:

Sorry to respond late.

The reason for this is that the parsing of the string (as delimited by "{" and 
"}") happens before the results are then interpreted as format specifiers. 
There's no way around it, short of the parser understanding every object's 
formatting language, which is of course not possible. It could be special cased 
for string, int, and float format specifiers, but that doesn't make much sense.

I think the doc change is good.

----------

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

Reply via email to