[issue9386] Bad indentation in urllib import fixer with multiple imports

2010-08-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r83798. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Pytho

[issue9386] Bad indentation in urllib import fixer with multiple imports

2010-07-29 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue9386] Bad indentation in urllib import fixer with multiple imports

2010-07-28 Thread Ray.Allen
Ray.Allen added the comment: When one import statement is split to two or more, we encounter this problem: the indentation of the import statements except the first one is unknown, and is difficult to fix this problem, since a import maybe in a multi-statement line, like: 'a=1;import sys'. I

[issue9386] Bad indentation in urllib import fixer with multiple imports

2010-07-28 Thread Ray.Allen
Ray.Allen added the comment: I guess it's the problem with lib2to3/fixes/fix_urllib.py. Indentation is not taken into consideration when fix "import". Fix it with indentation taken into consideration maybe a little complex, but here is a simple and ugly fix: when one import statement was tran

[issue9386] Bad indentation in urllib import fixer with multiple imports

2010-07-28 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +benjamin.peterson, merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue9386] Bad indentation in urllib import fixer with multiple imports

2010-07-26 Thread Dave Malcolm
Changes by Dave Malcolm : -- title: Bad indentation in urllib import fixer with multipe imports -> Bad indentation in urllib import fixer with multiple imports ___ Python tracker ___