flox <la...@yahoo.fr> 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 RefactoringTool: Skipping implicit fixer: ws_comma RefactoringTool: Refactored ../doublequote.py --- ../doublequote.py (original) +++ ../doublequote.py (refactored) @@ -1,5 +1,5 @@ -import urllib +import urllib.request, urllib.parse, urllib.error def doublequote(s): - return urllib.quote(urllib.quote(s)) + return urllib.parse.quote(urllib.parse.quote(s)) RefactoringTool: Files that need to be modified: RefactoringTool: ../doublequote.py ---------- nosy: +flox _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7520> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com