[issue22676] _pickle's whichmodule() is slow
STINNER Victor
report at bugs.python.org
Tue Oct 21 10:13:37 CEST 2014
STINNER Victor added the comment:
whichmodule_speedup.diff: I proposed once a more generic solution which is much more complex to implement. Lazy formatting of Exception message: in most cases, the message is not used. Replace AttributeError(message) with AttributeError(attr=name), only format when str(exc) is called.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22676>
_______________________________________
More information about the Python-bugs-list
mailing list