summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-09-01 01:52:08 (GMT)
committerGuido van Rossum <guido@python.org>2000-09-01 01:52:08 (GMT)
commit349ff6f7e205646be5749dbcb5d8bb1ba4fa022b (patch)
treeb5e7c524bc0ad8b3f61c020df86d27feed5e84af /Python/ceval.c
parent1ac9802748c26e716685f8ba19277d1a4dc0bcf1 (diff)
downloadcpython-349ff6f7e205646be5749dbcb5d8bb1ba4fa022b.zip
cpython-349ff6f7e205646be5749dbcb5d8bb1ba4fa022b.tar.gz
cpython-349ff6f7e205646be5749dbcb5d8bb1ba4fa022b.tar.bz2
Set the recursion limit to 1000 -- 2500 was not enough, let's be
conservative.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 63a2479..018c8af 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -300,7 +300,7 @@ Py_MakePendingCalls(void)
/* The interpreter's recursion limit */
-static int recursion_limit = 2500;
+static int recursion_limit = 1000;
int Py_GetRecursionLimit()
{