commit | 1896793520a49a6f97ae360c0b288967e56b005e | [log] [tgz] |
---|---|---|
author | pdox <pdox@alum.mit.edu> | Wed Oct 25 23:03:01 2017 -0700 |
committer | Benjamin Peterson <benjamin@python.org> | Wed Oct 25 23:03:01 2017 -0700 |
tree | b757b6b4691e52d5f3d22177ac23de50ad7d1d25 | |
parent | 32318930da70ff03320ec50813b843e7db6fbc2e [diff] [blame] |
bpo-31857: Make the behavior of USE_STACKCHECK deterministic (#4098)
diff --git a/Python/pystate.c b/Python/pystate.c index d85d604..82ebf4d 100644 --- a/Python/pystate.c +++ b/Python/pystate.c
@@ -245,6 +245,7 @@ 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;