[issue2446] 2to3 translates "import foobar" to "import .foobar" rather than "from . import foobar"
report at bugs.python.org
Fri Mar 28 20:04:48 CET 2008
Collin Winter <collinw at gmail.com> added the comment:
The problem with the "fix" in r61755 is that it doesn't distinguish
between stdlib and non-stdlib imports: "import os" becomes "from .
import os", which is clearly wrong.
Tracker <report at bugs.python.org>
More information about the Python-bugs-list