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 LambertDW, eric.smith, terry.reedy
Date 2009-02-13.04:07:23
SpamBayes Score 1.2887734e-05
Marked as misclassified No
Message-id <>
How is:
'{d}{s}{f}'.format(3, 'foo', 3.14)

more unclear than:
'%d%s%f' % (3, 'foo', 3.14)

But the more I think about it, the more I think it would have to be:
'{:d}{:s}{:f}'.format(3, 'foo', 3.14)
Since "{0:0}" is a legitimate format string, I need some way to tell
whether "{0}" is missing the positional parameter or is missing the
format specifier.
Date User Action Args
2009-02-13 04:07:24eric.smithsetrecipients: + eric.smith, terry.reedy, LambertDW
2009-02-13 04:07:24eric.smithsetmessageid: <>
2009-02-13 04:07:23eric.smithlinkissue5237 messages
2009-02-13 04:07:23eric.smithcreate