[issue19232] Speed up _decimal import

Eric V. Smith report at bugs.python.org
Sat Oct 12 14:43:41 CEST 2013


Eric V. Smith added the comment:

Remember that one reason for importing the C version at the bottom of the python version is so that alternate implementations (PyPy, IronPython, Jython) could provide partial versions of the C (or equivalent) versions. By importing after the Python version, the alternate implementation could continue to use parts of the Python code.

I think the impact on alternate implementations needs to be considered before we start rearchitecting these imports.

----------
nosy: +eric.smith

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


More information about the Python-bugs-list mailing list