Message160426
| 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. |
|