mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +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
|
@ -458,7 +458,7 @@ interpreter_clear(PyInterpreterState *interp, PyThreadState *tstate)
|
|||
Py_CLEAR(interp->interpreter_trampoline);
|
||||
|
||||
for (int i=0; i < DICT_MAX_WATCHERS; i++) {
|
||||
interp->dict_watchers[i] = NULL;
|
||||
interp->dict_state.watchers[i] = NULL;
|
||||
}
|
||||
|
||||
// XXX Once we have one allocator per interpreter (i.e.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue