[issue2377] Replace __import__ w/ importlib.__import__

Brett Cannon report at bugs.python.org
Wed Apr 18 01:06:22 CEST 2012


Brett Cannon <brett at python.org> added the comment:

Note:

__import__('sys', level=1) no longer works; raises KeyError instead.

----------

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


More information about the Python-bugs-list mailing list