Author eric.smith
Recipients LambertDW, eric.smith, ezio.melotti, gvanrossum, mark.dickinson, ncoghlan, orsenthil, pitrou, terry.reedy
Date 2009-03-13.23:51:03
SpamBayes Score 0.000108888
Marked as misclassified No
Message-id <1236988287.94.0.772153678696.issue5237@psf.upfronthosting.co.za>
In-reply-to
Content
I'm thinking of allowing you to mix keywords and auto-numbering, but not
manual numbering and auto-numbering. This would be so we could do:

>>> '{:{fmt}} {:{fmt}}'.format(3.1415, 2.71828, fmt='1.4f')
'pi=3.1415 e=2.7183'

Unfortunately the ':' is required, because if it's not there you have 2
braces next to each other, which is the escape sequence for a single brace.
History
Date User Action Args
2009-03-13 23:51:28eric.smithsetrecipients: + eric.smith, gvanrossum, terry.reedy, mark.dickinson, ncoghlan, orsenthil, pitrou, LambertDW, ezio.melotti
2009-03-13 23:51:27eric.smithsetmessageid: <1236988287.94.0.772153678696.issue5237@psf.upfronthosting.co.za>
2009-03-13 23:51:03eric.smithlinkissue5237 messages
2009-03-13 23:51:03eric.smithcreate