[issue12029] Catching virtual subclasses in except clauses
Jim Jewett
report at bugs.python.org
Thu May 24 04:26:46 CEST 2012
Jim Jewett <jimjjewett at gmail.com> added the comment:
When does the performance hit occur?
If it is only when an exception has been raised, and its own class is not listed by the except clause, then I personally wouldn't worry about it; tracing the MRO *could* get arbitrarily long already; it just doesn't in practice. The same should be true of virtual subclassing.
On the other hand, if it adds another module or three to the required startup set, that might be a concern...
----------
nosy: +Jim.Jewett
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12029>
_______________________________________
More information about the Python-bugs-list
mailing list