summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-01-14 00:17:28 (GMT)
committerGitHub <noreply@github.com>2022-01-14 00:17:28 (GMT)
commit322f962f3ee31d0dbde99e36379de8488ccc6804 (patch)
tree5ff4958e37f0f556294804c2918bdfeb9ea87417 /Python/ceval.c
parent324908ba936d5d262026deebb81f050803848c41 (diff)
downloadcpython-322f962f3ee31d0dbde99e36379de8488ccc6804.zip
cpython-322f962f3ee31d0dbde99e36379de8488ccc6804.tar.gz
cpython-322f962f3ee31d0dbde99e36379de8488ccc6804.tar.bz2
bpo-45953: Statically initialize all the non-object PyInterpreterState fields we can. (gh-30589)
https://bugs.python.org/issue45953
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index eed902f..70a7750 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -748,8 +748,6 @@ _PyEval_InitRuntimeState(struct _ceval_runtime_state *ceval)
void
_PyEval_InitState(struct _ceval_state *ceval, PyThread_type_lock pending_lock)
{
- ceval->recursion_limit = Py_DEFAULT_RECURSION_LIMIT;
-
struct _pending_calls *pending = &ceval->pending;
assert(pending->lock == NULL);