[issue25537] Call `isinstance` instead of `issubclass` during exception handling

R. David Murray report at bugs.python.org
Tue Nov 3 10:10:48 EST 2015


R. David Murray added the comment:

Ah, now I understand.  That is definitely not something that could go into 2.7.  It is also a level of change that would need to go to python-ideas first, and possibly even a PEP.  Closing this pending such a discussion.

----------
dependencies:  -Catching virtual subclasses in except clauses
resolution:  -> later
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list