[New-bugs-announce] [issue2414] Fix implicit relative imports
Martin v. Löwis
report at bugs.python.org
Wed Mar 19 03:22:32 CET 2008
New submission from Martin v. Löwis <martin at v.loewis.de>:
There should be a fixer that changes
from foo import bar
into
from .foo import bar
if the import occurs in a package and foo is in the very same package.
Likewise, it should change
import foo
to
from . import foo
----------
assignee: David Wolever
components: 2to3 (2.x to 3.0 conversion tool)
messages: 64026
nosy: David Wolever, loewis
severity: normal
status: open
title: Fix implicit relative imports
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2414>
__________________________________
More information about the New-bugs-announce
mailing list