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 belopolsky
Recipients belopolsky, djc, giampaolo.rodola, rhettinger
Date 2010-10-28.15:44:26
SpamBayes Score 8.8599445e-06
Marked as misclassified No
Message-id <1288280668.88.0.900832112461.issue10221@psf.upfronthosting.co.za>
In-reply-to
Content
There have been several requests for KeyError to grow "key" attribute that will always contain the key that caused the error. See issue 1182143, for example.  If this is done, I think it would be natural to unify the args as well for empty and non-empy case.  Without adding key access API, however, I am at most -0 on changing the error message.   Traditionally, the error messages are not considered part of language specification, so this is not a bug.
History
Date User Action Args
2010-10-28 15:44:29belopolskysetrecipients: + belopolsky, rhettinger, giampaolo.rodola, djc
2010-10-28 15:44:28belopolskysetmessageid: <1288280668.88.0.900832112461.issue10221@psf.upfronthosting.co.za>
2010-10-28 15:44:26belopolskylinkissue10221 messages
2010-10-28 15:44:26belopolskycreate