[issue12029] Catching virtual subclasses in except clauses

R. David Murray report at bugs.python.org
Wed Oct 21 10:15:19 EDT 2015


R. David Murray added the comment:

Note from discussion on duplicate issue 25448: when this is fixed, the try/except documentation should be updated to indicate that the except clause test is equivalent to 'issubclass', so that the handling of virtual subclasses are implied by the doc.  (The current proposed patch contains no doc changes.)

Apparently this also affects pypy.

----------
nosy: +alex, fijal, r.david.murray

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


More information about the Python-bugs-list mailing list