Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de8a4e5 commit 0e249c7Copy full SHA for 0e249c7
Include/cpython/pystate.h
@@ -225,7 +225,7 @@ struct _ts {
225
# define Py_C_RECURSION_LIMIT 500
226
#else
227
// This value is duplicated in Lib/test/support/__init__.py
228
-# define Py_C_RECURSION_LIMIT 1500
+# define Py_C_RECURSION_LIMIT 4500
229
#endif
230
231
Lib/test/support/__init__.py
@@ -2382,7 +2382,7 @@ def _get_c_recursion_limit():
2382
return _testcapi.Py_C_RECURSION_LIMIT
2383
except (ImportError, AttributeError):
2384
# Originally taken from Include/cpython/pystate.h .
2385
- return 1500
+ return 4500
2386
2387
# The default C recursion limit.
2388
Py_C_RECURSION_LIMIT = _get_c_recursion_limit()
0 commit comments