Message183942
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. |
|
Date |
User |
Action |
Args |
2013-03-11 08:02:22 | ncoghlan | set | recipients:
+ ncoghlan, loewis, rhettinger, jcea, pitrou, eric.smith, ezio.melotti, alex, cvrebert, chris.jerdonek, python-dev |
2013-03-11 08:02:21 | ncoghlan | set | messageid: <1362988941.95.0.572218737131.issue15806@psf.upfronthosting.co.za> |
2013-03-11 08:02:21 | ncoghlan | link | issue15806 messages |
2013-03-11 08:02:21 | ncoghlan | create | |
|