summaryrefslogtreecommitdiff
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorpdox <pdox@alum.mit.edu>2017-10-25 23:03:01 -0700
committerBenjamin Peterson <benjamin@python.org>2017-10-25 23:03:01 -0700
commit1896793520a49a6f97ae360c0b288967e56b005e (patch)
treeb757b6b4691e52d5f3d22177ac23de50ad7d1d25 /Python/pystate.c
parent32318930da70ff03320ec50813b843e7db6fbc2e (diff)
downloadcpython-git-1896793520a49a6f97ae360c0b288967e56b005e.tar.gz
bpo-31857: Make the behavior of USE_STACKCHECK deterministic (#4098)
Diffstat (limited to 'Python/pystate.c')
-rw-r--r--Python/pystate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index d85d604de5..82ebf4da7d 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -245,6 +245,7 @@ new_threadstate(PyInterpreterState *interp, int init)
tstate->recursion_depth = 0;
tstate->overflowed = 0;
tstate->recursion_critical = 0;
+ tstate->stackcheck_counter = 0;
tstate->tracing = 0;
tstate->use_tracing = 0;
tstate->gilstate_counter = 0;