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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22676>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to