[Zope3-dev] Please, no bare 'except:' clauses!
Barry A. Warsaw
barry@zope.com
Mon, 11 Nov 2002 12:52:11 -0500
>>>>> "SH" == Shane Hathaway <shane@zope.com> writes:
SH> 2) Add a subclass of Exception that does not get caught by
SH> normal "except" clauses. "SlipperyExceptions" only get caught
SH> by exception handlers that specifically catch
SH> SlipperyExceptions. This could mess up code that uses
SH> "except:" where it should be using "finally:". It would
SH> require a change to Python.
IIRC, we talked about this back in the pre-class-stdexc days, but
ended up not adding it.
-Barry