[issue19510] lib2to3.fixes.fix_import gets confused if implicit relative imports and absolute imports are on the same line

Éric Araujo report at bugs.python.org
Fri Mar 14 20:32:26 CET 2014


Éric Araujo added the comment:

To be fair to 2to3, that line disrespects some Python best practices (use explicit relative imports (2.5+), put one import per line, group imports by stdlib/non-stdlib).  It’s still a bug though :)

----------
nosy: +benjamin.peterson, eric.araujo

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


More information about the Python-bugs-list mailing list