summaryrefslogtreecommitdiff
path: root/lang/python/files/patch-Python::ceval.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/files/patch-Python::ceval.c')
-rw-r--r--lang/python/files/patch-Python::ceval.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/python/files/patch-Python::ceval.c b/lang/python/files/patch-Python::ceval.c
index fc42c6e58d51..057d4b6a066e 100644
--- a/lang/python/files/patch-Python::ceval.c
+++ b/lang/python/files/patch-Python::ceval.c
@@ -1,14 +1,16 @@
---- Python/ceval.c.orig Sat Dec 20 15:13:53 2003
-+++ Python/ceval.c Sat Dec 20 15:15:46 2003
-@@ -496,7 +496,10 @@
+--- Python/ceval.c.orig Wed Nov 24 03:06:08 2004
++++ Python/ceval.c Wed Dec 1 22:29:37 2004
+@@ -414,8 +414,11 @@
/* The interpreter's recursion limit */
-static int recursion_limit = 1000;
+-int _Py_CheckRecursionLimit = 1000;
+#ifndef PYTHON_DEFAULT_RECURSION_LIMIT
+#define PYTHON_DEFAULT_RECURSION_LIMIT 1000
+#endif
+static int recursion_limit = PYTHON_DEFAULT_RECURSION_LIMIT;
++int _Py_CheckRecursionLimit = PYTHON_DEFAULT_RECURSION_LIMIT;
int
Py_GetRecursionLimit(void)