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 <1336754260.69.0.631822965906.issue12029@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-05-11 16:37:40gvanrossumsetrecipients: + gvanrossum, jamesh, acooke, eric.araujo, cvrebert, daniel.urban
2012-05-11 16:37:40gvanrossumsetmessageid: <1336754260.69.0.631822965906.issue12029@psf.upfronthosting.co.za>
2012-05-11 16:37:40gvanrossumlinkissue12029 messages
2012-05-11 16:37:40gvanrossumcreate