[issue23947] Add mechanism to import stdlib package bypassing user packages
Brett Cannon
report at bugs.python.org
Tue Apr 14 17:01:47 CEST 2015
Brett Cannon added the comment:
Just so I don't forget, we also discussed introducing something like importlib.import_stdlib_module() which does what Steve mentions. That would handle aliasing in sys.modules cleanly. In the situation where the module is already in sys.modules and not the same module, a warning can be raised.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23947>
_______________________________________
More information about the Python-bugs-list
mailing list