[issue19232] Speed up _decimal import

Raymond Hettinger report at bugs.python.org
Sun Oct 13 17:35:56 CEST 2013


Raymond Hettinger added the comment:

I think we should save these sort of tricks only for modules imported during startup.

Ideally, a user should expect that the code for the decimal module is in decimal.py.  Ideally, tools like IDLE's "Open Module" should be able to find the source code using only the module name.

I'm -0 on this one.  I don't think hacking up the source tree is worth it.  The import is only done once -- the important part is what decimal does when it is imported.

----------

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


More information about the Python-bugs-list mailing list