[pypy-commit] pypy default: Backout 44c3924 : no need to patch dead code
rlamy
noreply at buildbot.pypy.org
Mon Sep 1 19:24:23 CEST 2014
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch:
Changeset: r73273:1cea12b7ec07
Date: 2014-09-01 18:20 +0100
http://bitbucket.org/pypy/pypy/changeset/1cea12b7ec07/
Log: Backout 44c3924 : no need to patch dead code
diff --git a/py/_code/source.py b/py/_code/source.py
--- a/py/_code/source.py
+++ b/py/_code/source.py
@@ -416,8 +416,6 @@
trysource = source[start:end]
if trysource.isparseable():
return start, end
- if end == start + 100: # XXX otherwise, it takes forever
- break # XXX
raise SyntaxError("no valid source range around line %d " % (lineno,))
More information about the pypy-commit
mailing list