Message146278
$ cat deleteme.py
from sys import maxint
print 'maxint', maxint
$ 2to3 deleteme.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 deleteme.py
--- deleteme.py (original)
+++ deleteme.py (refactored)
@@ -1,2 +1,2 @@
-from sys import maxint
-print 'maxint', maxint
+from sys import maxsize
+print('maxint', maxint)
RefactoringTool: Files that need to be modified:
RefactoringTool: deleteme.py
The maxint in the print should be converted too. |
|
Date |
User |
Action |
Args |
2011-10-24 06:25:52 | ezio.melotti | set | recipients:
+ ezio.melotti, benjamin.peterson |
2011-10-24 06:25:52 | ezio.melotti | set | messageid: <1319437552.82.0.780264952493.issue13253@psf.upfronthosting.co.za> |
2011-10-24 06:25:52 | ezio.melotti | link | issue13253 messages |
2011-10-24 06:25:52 | ezio.melotti | create | |
|