[issue15806] Add context manager for the "try: ... except: pass" pattern

Alex Gaynor report at bugs.python.org
Wed Aug 29 07:55:38 CEST 2012


Alex Gaynor added the comment:

Why not just: issubclass(exctype, self.exception_types)?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15806>
_______________________________________


More information about the Python-bugs-list mailing list