This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients benjamin.peterson, ezio.melotti
Date 2011-10-24.06:25:51
SpamBayes Score 7.832052e-05
Marked as misclassified No
Message-id <1319437552.82.0.780264952493.issue13253@psf.upfronthosting.co.za>
In-reply-to
Content
$ 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.
History
Date User Action Args
2011-10-24 06:25:52ezio.melottisetrecipients: + ezio.melotti, benjamin.peterson
2011-10-24 06:25:52ezio.melottisetmessageid: <1319437552.82.0.780264952493.issue13253@psf.upfronthosting.co.za>
2011-10-24 06:25:52ezio.melottilinkissue13253 messages
2011-10-24 06:25:52ezio.melotticreate