[Python-checkins] r63967 - python/trunk/Lib/tokenize.py
benjamin.peterson
python-checkins at python.org
Fri Jun 6 01:02:33 CEST 2008
Author: benjamin.peterson
Date: Fri Jun 6 01:02:33 2008
New Revision: 63967
Log:
revert 63965 for preformance reasons
Modified:
python/trunk/Lib/tokenize.py
Modified: python/trunk/Lib/tokenize.py
==============================================================================
--- python/trunk/Lib/tokenize.py (original)
+++ python/trunk/Lib/tokenize.py Fri Jun 6 01:02:33 2008
@@ -281,7 +281,7 @@
contline = None
indents = [0]
- while True: # loop over lines in stream
+ while 1: # loop over lines in stream
try:
line = readline()
except StopIteration:
More information about the Python-checkins
mailing list