[issue14592] old-style (level=-1) importing broken after importlib changes

Brett Cannon report at bugs.python.org
Mon Apr 16 23:18:44 CEST 2012


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

Yeah, the fix is dead-simple, import with level=1 and if that fails import with level=0.

I plan to cover this specific issue in the "What's New" for Python 3.3.

----------

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


More information about the Python-bugs-list mailing list