[pypy-svn] r5140 - pypy/trunk/src/pypy/interpreter
hpk at codespeak.net
hpk at codespeak.net
Thu Jun 17 00:50:36 CEST 2004
Author: hpk
Date: Thu Jun 17 00:50:36 2004
New Revision: 5140
Modified:
pypy/trunk/src/pypy/interpreter/py.py
Log:
small hack to raise the recursionlimit to make
Armins posting to pypy-dev actually work :-)
Modified: pypy/trunk/src/pypy/interpreter/py.py
==============================================================================
--- pypy/trunk/src/pypy/interpreter/py.py (original)
+++ pypy/trunk/src/pypy/interpreter/py.py Thu Jun 17 00:50:36 2004
@@ -82,4 +82,7 @@
import readline
except:
pass
+ if hasattr(sys, 'setrecursionlimit'):
+ # for running "python -i py.py -Si -- py.py -Si"
+ sys.setrecursionlimit(3000)
main_(sys.argv)
More information about the Pypy-commit
mailing list