From 1896793520a49a6f97ae360c0b288967e56b005e Mon Sep 17 00:00:00 2001 From: pdox Date: Wed, 25 Oct 2017 23:03:01 -0700 Subject: bpo-31857: Make the behavior of USE_STACKCHECK deterministic (#4098) --- Python/pystate.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Python/pystate.c') 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; -- cgit v1.2.1