[Python-3000-checkins] r59474 - python/branches/py3k/Lib/idlelib/CodeContext.py

kurt.kaiser python-3000-checkins at python.org
Wed Dec 12 18:22:11 CET 2007


Author: kurt.kaiser
Date: Wed Dec 12 18:22:06 2007
New Revision: 59474

Modified:
   python/branches/py3k/Lib/idlelib/CodeContext.py
Log:
maxint->maxsize.  Wouldn't import.


Modified: python/branches/py3k/Lib/idlelib/CodeContext.py
==============================================================================
--- python/branches/py3k/Lib/idlelib/CodeContext.py	(original)
+++ python/branches/py3k/Lib/idlelib/CodeContext.py	Wed Dec 12 18:22:06 2007
@@ -12,7 +12,7 @@
 import Tkinter
 from Tkconstants import TOP, LEFT, X, W, SUNKEN
 import re
-from sys import maxint as INFINITY
+from sys import maxsize as INFINITY
 from idlelib.configHandler import idleConf
 
 BLOCKOPENERS = set(["class", "def", "elif", "else", "except", "finally", "for",


More information about the Python-3000-checkins mailing list