homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Fix implicit relative imports
Type: Stage:
Components: 2to3 (2.x to 3.x conversion tool) Versions:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: wolever Nosy List: loewis, wolever
Priority: normal Keywords:

Created on 2008年03月19日 02:22 by loewis, last changed 2022年04月11日 14:56 by admin. This issue is now closed.

Messages (2)
msg64026 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008年03月19日 02:22
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
msg64067 - (view) Author: David Wolever (wolever) * (Python committer) Date: 2008年03月19日 16:20
Added in r61626.
History
Date User Action Args
2022年04月11日 14:56:32adminsetgithub: 46666
2008年03月19日 16:20:24woleversetstatus: open -> closed
messages: + msg64067
2008年03月19日 02:22:31loewiscreate

AltStyle によって変換されたページ (->オリジナル) /