[issue21235] importlib's spec module create algorithm is not exposed

Brett Cannon report at bugs.python.org
Tue Apr 15 17:26:28 CEST 2014


Brett Cannon added the comment:

Are you after just the module creation/initialization code so you can call exec_module() yourself, Armin, or do you want even more of the algorithm exposed (e.g. the lock stuff)? There are not tons of importlib users to the level of wanting to re-implement import to the level of wanting to control module creation, setting sys.modules manually, etc., so we are constantly trying to figure out how far to go in exposing things without going so far as to make it impossible to make changes.

----------

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


More information about the Python-bugs-list mailing list