[issue7520] Incorrect handling of nested calss

2009-12-15 Thread R. David Murray
Changes by R. David Murray : -- priority: -> normal resolution: -> duplicate stage: -> committed/rejected superseder: -> 2to3 - does not translate urllib2 to urllib.request correctly for function/method argument ___ Python tracker

[issue7520] Incorrect handling of nested calss

2009-12-15 Thread César Izurieta
César Izurieta added the comment: Thanks for testing this. I guess I'll separate those now. But it's good to know it is fixed in the latest version. -- status: open -> closed ___ Python tracker ___

[issue7520] Incorrect handling of nested calss

2009-12-15 Thread flox
flox added the comment: It seems to behave correctly on 2.7 and 3.1 (svn versions). $ ./python Tools/scripts/2to3 ../doublequote.py RefactoringTool: Skipping implicit fixer: buffer RefactoringTool: Skipping implicit fixer: idioms RefactoringTool: Skipping implicit fixer: set_literal Refactorin

[issue7520] Incorrect handling of nested calss

2009-12-15 Thread César Izurieta
New submission from César Izurieta : I was using a function that has a nested urllib.quote. I need to double quote a value. When running this through the 2to3 tool, the nested call never got substituted. Initial:urllib.quote(urllib.quote(s)) 2to3 ouput: urllib.parse.quote(urllib.quote(s))