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 Julian
Recipients Julian, eric.smith
Date 2011-07-17.22:11:48
SpamBayes Score 6.3701435e-07
Marked as misclassified No
Message-id <1310940709.1.0.888454553453.issue12579@psf.upfronthosting.co.za>
In-reply-to
Content
Yeah, I saw the line you suggested and didn't think that was it.

To expand on this, perhaps "{foo}".format(12) should raise a TypeError as well? I'd expect that more than the current behavior which is a KeyError. That KeyError is getting raised in get_field_object, which is where the fix needs to be, or at least needs to be changed, I'm just trying not to duplicate code.
History
Date User Action Args
2011-07-17 22:11:49Juliansetrecipients: + Julian, eric.smith
2011-07-17 22:11:49Juliansetmessageid: <1310940709.1.0.888454553453.issue12579@psf.upfronthosting.co.za>
2011-07-17 22:11:48Julianlinkissue12579 messages
2011-07-17 22:11:48Juliancreate