From: Benjamin Peterson Date: Thu, 5 Jun 2008 23:02:33 +0000 (+0000) Subject: revert 63965 for preformance reasons X-Git-Tag: v2.6b1~152 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8456f64ce2ce992f42b65d86456baa0e5aeee459;p=thirdparty%2FPython%2Fcpython.git revert 63965 for preformance reasons --- diff --git a/Lib/tokenize.py b/Lib/tokenize.py index 8d2b4aaba2b9..0f68b4034bae 100644 --- a/Lib/tokenize.py +++ b/Lib/tokenize.py @@ -281,7 +281,7 @@ def generate_tokens(readline): contline = None indents = [0] - while True: # loop over lines in stream + while 1: # loop over lines in stream try: line = readline() except StopIteration: