summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-11-16 17:37:29 (GMT)
committerGitHub <noreply@github.com>2022-11-16 17:37:29 (GMT)
commit9db1e17c80217d7b18a2f44297d72acd10ee73d6 (patch)
tree4d0256b80f512133b1fb6db73a68da5bdbe22c5c /Python
parent8211cf5d287acfd815b6a7f6471cdf83dcd2bb9b (diff)
downloadcpython-9db1e17c80217d7b18a2f44297d72acd10ee73d6.zip
cpython-9db1e17c80217d7b18a2f44297d72acd10ee73d6.tar.gz
cpython-9db1e17c80217d7b18a2f44297d72acd10ee73d6.tar.bz2
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
Diffstat (limited to 'Python')
-rw-r--r--Python/pystate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index d6f2645..a53a9a3 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -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.