[issue9109] absolute import cleanups for Python 3

Brett Cannon report at bugs.python.org
Tue Jun 29 00:48:32 CEST 2010


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

Having level=-1 doesn't even work in Python 3 like it did in Python 2 (it seems to just act as if level is 0), so yes the -1 code can be removed. Probably need all values less than 0 to get rounded up to 0 for backwards-compatibility with Python 2.x code which calls __import__ directly.

----------
versions: +Python 3.2 -Python 3.3

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


More information about the Python-bugs-list mailing list