[issue3334] 2to3 looses indentation on import fix
Nick Edds
report at bugs.python.org
Fri Jul 18 19:25:12 CEST 2008
Nick Edds <nedds at uchicago.edu> added the comment:
I believe the problem was that in the case of this fix, rather than
using set_prefix to give the new node the same prefix as before,
new.prefix = was used. Here is the one line fix which preserves the
prefix in the example given.
----------
keywords: +patch
nosy: +nedds
Added file: http://bugs.python.org/file10935/fix_import.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3334>
_______________________________________
More information about the Python-bugs-list
mailing list