[issue8608] fix_import prefixes "." to already relative imports

2010-05-04 Thread Torsten Marek
Torsten Marek added the comment: Forgot the file name last time. -- Added file: http://bugs.python.org/file17197/fix-no-prefix-relative-import.bundle ___ Python tracker <http://bugs.python.org/issue8

[issue8608] fix_import prefixes "." to already relative imports

2010-05-04 Thread Torsten Marek
Torsten Marek added the comment: This file contains the same patch, but as a mercurial revision bundle. -- ___ Python tracker <http://bugs.python.org/issue8

[issue8608] fix_import prefixes "." to already relative imports

2010-05-04 Thread Torsten Marek
New submission from Torsten Marek : 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