mirror of
https://github.com/python/cpython.git
synced 2025-10-17 04:08:28 +00:00
gh-81057: Move the global Dict-Related Versions to _PyRuntimeState (gh-99497)
We also move the global func version. https://github.com/python/cpython/issues/81057
This commit is contained in:
parent
8211cf5d28
commit
9db1e17c80
16 changed files with 89 additions and 48 deletions
|
@ -58,6 +58,12 @@ extern "C" {
|
|||
.float_format = _py_float_format_unknown, \
|
||||
.double_format = _py_float_format_unknown, \
|
||||
}, \
|
||||
.dict_state = { \
|
||||
.next_keys_version = 2, \
|
||||
}, \
|
||||
.func_state = { \
|
||||
.next_version = 1, \
|
||||
}, \
|
||||
.types = { \
|
||||
.next_version_tag = 1, \
|
||||
}, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue