gh-112075: use per-thread dict version pool (#118676)

use thread state set of dict versions
This commit is contained in:
Dino Viehland 2024-05-06 17:22:26 -07:00 committed by GitHub
parent 723d4d2fe8
commit ff6cbb2503
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 70 additions and 3 deletions

View file

@ -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;