This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients docs@python, eric.araujo, eric.smith, flox, georg.brandl
Date 2010-09-06.15:09:01
SpamBayes Score 7.6719533e-07
Marked as misclassified No
Message-id <1283785742.97.0.849974007776.issue9780@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-09-06 15:09:03eric.smithsetrecipients: + eric.smith, georg.brandl, eric.araujo, flox, docs@python
2010-09-06 15:09:02eric.smithsetmessageid: <1283785742.97.0.849974007776.issue9780@psf.upfronthosting.co.za>
2010-09-06 15:09:01eric.smithlinkissue9780 messages
2010-09-06 15:09:01eric.smithcreate