New submission from Torsten Marek shlo...@gmx.net:
The fixer for absolute - relative imports prefixes . to already relative
imports, i.e.
from . import something
will be converted into
from .. import something
if something.py exists. This of course will raise an exception on
Torsten Marek shlo...@gmx.net added the comment:
This file contains the same patch, but as a mercurial revision bundle.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8608
___
Torsten Marek shlo...@gmx.net added the comment:
Forgot the file name last time.
--
Added file:
http://bugs.python.org/file17197/fix-no-prefix-relative-import.bundle
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8608
R. David Murray rdmur...@bitdance.com added the comment:
Thanks, but this is a duplicate of issue 8553, which has already been fixed.
--
nosy: +r.david.murray
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - 2to3 breaks relative imports