[issue12029] Catching virtual subclasses in except clauses
Georg Brandl
report at bugs.python.org
Thu Oct 2 13:15:29 CEST 2014
Georg Brandl added the comment:
Quick microbenchmark:
try:
{}["a"]
except KeyError:
pass
original tip: 1.35 usec
with patch v3: 1.55 usec
so it's about 15% slowdown for catching a simple exception on my machine.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12029>
_______________________________________
More information about the Python-bugs-list
mailing list