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 mrabarnett
Recipients eric.araujo, eric.smith, gosella, mark.dickinson, mrabarnett
Date 2010-06-15.01:25:43
SpamBayes Score 0.057253215
Marked as misclassified No
Message-id <1276565146.65.0.615976447841.issue7951@psf.upfronthosting.co.za>
In-reply-to
Content
Your original:

    "{0[-1]}".format('fox')

is a worse gotcha than:

    "{-1}".format('fox')

because you're much less likely to want to do the latter.

It's one of those things that it would be nice to have fixed, or we could just add a warning to the documentation that it _might_ be fixed in the future, so people shouldn't rely on the current behaviour. :-)
History
Date User Action Args
2010-06-15 01:25:47mrabarnettsetrecipients: + mrabarnett, mark.dickinson, eric.smith, eric.araujo, gosella
2010-06-15 01:25:46mrabarnettsetmessageid: <1276565146.65.0.615976447841.issue7951@psf.upfronthosting.co.za>
2010-06-15 01:25:44mrabarnettlinkissue7951 messages
2010-06-15 01:25:43mrabarnettcreate