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 pitrou
Recipients alex, chris.jerdonek, cvrebert, ezio.melotti, loewis, ncoghlan, pitrou, rhettinger
Date 2012-08-29.10:51:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346237470.14.0.520003410596.issue15806@psf.upfronthosting.co.za>
In-reply-to
Content
If this is desirable then I think it would be better as a classmethod of Exception:

with KeyError.trap():
    do_something()
History
Date User Action Args
2012-08-29 10:51:10pitrousetrecipients: + pitrou, loewis, rhettinger, ncoghlan, ezio.melotti, alex, cvrebert, chris.jerdonek
2012-08-29 10:51:10pitrousetmessageid: <1346237470.14.0.520003410596.issue15806@psf.upfronthosting.co.za>
2012-08-29 10:51:09pitroulinkissue15806 messages
2012-08-29 10:51:09pitroucreate