diff options
author | pdox <pdox@alum.mit.edu> | 2017-10-26 06:03:01 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2017-10-26 06:03:01 (GMT) |
commit | 1896793520a49a6f97ae360c0b288967e56b005e (patch) | |
tree | b757b6b4691e52d5f3d22177ac23de50ad7d1d25 /Python/pystate.c | |
parent | 32318930da70ff03320ec50813b843e7db6fbc2e (diff) | |
download | cpython-1896793520a49a6f97ae360c0b288967e56b005e.zip cpython-1896793520a49a6f97ae360c0b288967e56b005e.tar.gz cpython-1896793520a49a6f97ae360c0b288967e56b005e.tar.bz2 |
bpo-31857: Make the behavior of USE_STACKCHECK deterministic (#4098)
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ 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; |