summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorDino Viehland <dinoviehland@meta.com>2024-05-07 00:22:26 (GMT)
committerGitHub <noreply@github.com>2024-05-07 00:22:26 (GMT)
commitff6cbb2503a8fe3fceeadd889e34fc9a8f308ecd (patch)
treeed2ab05ad2ca3f3819babe399933ffcb85c93ad4 /Python
parent723d4d2fe8e77b398f0ccffcfa541149caaac6a1 (diff)
downloadcpython-ff6cbb2503a8fe3fceeadd889e34fc9a8f308ecd.zip
cpython-ff6cbb2503a8fe3fceeadd889e34fc9a8f308ecd.tar.gz
cpython-ff6cbb2503a8fe3fceeadd889e34fc9a8f308ecd.tar.bz2
gh-112075: use per-thread dict version pool (#118676)
use thread state set of dict versions
Diffstat (limited to 'Python')
-rw-r--r--Python/pystate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index 7c75263..2f1521e 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -1488,6 +1488,7 @@ init_threadstate(_PyThreadStateImpl *_tstate,
tstate->datastack_limit = NULL;
tstate->what_event = -1;
tstate->previous_executor = NULL;
+ tstate->dict_global_version = 0;
tstate->delete_later = NULL;