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.
test.support.Py_C_RECURSION_LIMIT
1 parent 730d450 commit 6d5e0dcCopy full SHA for 6d5e0dc
Lib/test/support/__init__.py
@@ -2380,7 +2380,8 @@ def _get_c_recursion_limit():
2380
import _testcapi
2381
return _testcapi.Py_C_RECURSION_LIMIT
2382
except (ImportError, AttributeError):
2383
- return 1500 # (from Include/cpython/pystate.h)
+ # Originally taken from Include/cpython/pystate.h .
2384
+ return 1500
2385
2386
# The default C recursion limit.
2387
Py_C_RECURSION_LIMIT = _get_c_recursion_limit()
0 commit comments