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 cc42c1f commit 5cc2c41Copy full SHA for 5cc2c41
Include/internal/pycore_runtime_init.h
@@ -36,6 +36,9 @@ extern "C" {
36
{ \
37
._static = 1, \
38
.id_refcount = -1, \
39
+ .ceval = { \
40
+ .recursion_limit = Py_DEFAULT_RECURSION_LIMIT, \
41
+ }, \
42
._initial_thread = _PyThreadState_INIT, \
43
}
44
Python/ceval.c
@@ -748,8 +748,6 @@ _PyEval_InitRuntimeState(struct _ceval_runtime_state *ceval)
748
void
749
_PyEval_InitState(struct _ceval_state *ceval, PyThread_type_lock pending_lock)
750
{
751
- ceval->recursion_limit = Py_DEFAULT_RECURSION_LIMIT;
752
-
753
struct _pending_calls *pending = &ceval->pending;
754
assert(pending->lock == NULL);
755
0 commit comments