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 ncoghlan
Recipients alex, chris.jerdonek, cvrebert, eric.smith, ezio.melotti, jcea, loewis, ncoghlan, pitrou, python-dev, rhettinger
Date 2013-03-11.08:02:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362988941.95.0.572218737131.issue15806@psf.upfronthosting.co.za>
In-reply-to
Content
FTR, Raymond and I discussed this on IRC and I gave it a +1 before he committed it.

The advantage the callable form has over a class method is that it readily scales to ignoring multiple exception types in a single with statement.
History
Date User Action Args
2013-03-11 08:02:22ncoghlansetrecipients: + ncoghlan, loewis, rhettinger, jcea, pitrou, eric.smith, ezio.melotti, alex, cvrebert, chris.jerdonek, python-dev
2013-03-11 08:02:21ncoghlansetmessageid: <1362988941.95.0.572218737131.issue15806@psf.upfronthosting.co.za>
2013-03-11 08:02:21ncoghlanlinkissue15806 messages
2013-03-11 08:02:21ncoghlancreate