New submission from Martin v. Löwis <[EMAIL PROTECTED]>:

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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2414>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to