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 benjamin.peterson
Recipients acooke, benjamin.peterson, cvrebert, daniel.urban, eric.araujo, gvanrossum, jamesh
Date 2012-05-11.17:04:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1336755893.14.0.697731292877.issue12029@psf.upfronthosting.co.za>
In-reply-to
Content
I think being able to catch exception with ABCs is esssentially useless. The originally stated "usecase" can be simply solved by putting classes into a tuple and putting that in the except clause.

In general, the whole abc machinary causes lots of code which expects instance and subclass checks to be side-effect free to be able to execute arbitrary code, which creates messes.
History
Date User Action Args
2012-05-11 17:04:53benjamin.petersonsetrecipients: + benjamin.peterson, gvanrossum, jamesh, acooke, eric.araujo, cvrebert, daniel.urban
2012-05-11 17:04:53benjamin.petersonsetmessageid: <1336755893.14.0.697731292877.issue12029@psf.upfronthosting.co.za>
2012-05-11 17:04:52benjamin.petersonlinkissue12029 messages
2012-05-11 17:04:52benjamin.petersoncreate