[issue22676] Creating the string representation of a module is slower

Georg Brandl report at bugs.python.org
Tue Oct 21 09:14:08 CEST 2014


Georg Brandl added the comment:

HasAttr would just call GetAttr and discard the exception.

@ OP: what objects are you pickling? You can give them a __module__ attribute to save the lookup in sys.modules.

----------
nosy: +georg.brandl

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22676>
_______________________________________


More information about the Python-bugs-list mailing list