aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2025-04-29 18:00:35 +0100
committerGitHub <noreply@github.com>2025-04-29 18:00:35 +0100
commitccf1b0b1c18e6d00fb919bce107f2793bab0a471 (patch)
tree94c1bd2fd030defe28291ae62acbfcb1c2cb4b2b /Python/pystate.c
parentcaee16f05229de5bc5ed2743c531f1696641888a (diff)
downloadcpython-ccf1b0b1c18e6d00fb919bce107f2793bab0a471.tar.gz
cpython-ccf1b0b1c18e6d00fb919bce107f2793bab0a471.zip
GH-132508: Use tagged integers on the evaluation stack for the last instruction offset (GH-132545)
Diffstat (limited to 'Python/pystate.c')
-rw-r--r--Python/pystate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index 8c0bab3f2b4..b0c79ba9d3e 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -684,7 +684,7 @@ init_interpreter(PyInterpreterState *interp,
interp->dtoa = (struct _dtoa_state)_dtoa_state_INIT(interp);
}
#if !defined(Py_GIL_DISABLED) && defined(Py_STACKREF_DEBUG)
- interp->next_stackref = 1;
+ interp->next_stackref = INITIAL_STACKREF_INDEX;
_Py_hashtable_allocator_t alloc = {
.malloc = malloc,
.free = free,