This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients acooke, cvrebert, daniel.urban, eric.araujo, gvanrossum, jamesh
Date 2012-05-11.16:37:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I agree it's a bug and should be fixed.  It's too confusing that there would be two slightly different interpretations of isinstance/issubclass where the isinstance() and issubclass() would be using the extended interpretation but the except clause would use the narrow interpretation.

The exception matching done by the except clause ought to be explainable in terms of issubclass/isinstance.
Date User Action Args
2012-05-11 16:37:40gvanrossumsetrecipients: + gvanrossum, jamesh, acooke, eric.araujo, cvrebert, daniel.urban
2012-05-11 16:37:40gvanrossumsetmessageid: <>
2012-05-11 16:37:40gvanrossumlinkissue12029 messages
2012-05-11 16:37:40gvanrossumcreate