diff options
author | Tian Gao <gaogaotiantian@hotmail.com> | 2024-10-01 17:32:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-01 17:32:55 (GMT) |
commit | 5e0abb47886bc665eefdcc19fde985f803e49d4c (patch) | |
tree | 87b3c0280ab1fa6991732eb4e0d82238e96620ec /Python/pystate.c | |
parent | b48253852341c01309b0598852841cd89bc28afd (diff) | |
download | cpython-5e0abb47886bc665eefdcc19fde985f803e49d4c.zip cpython-5e0abb47886bc665eefdcc19fde985f803e49d4c.tar.gz cpython-5e0abb47886bc665eefdcc19fde985f803e49d4c.tar.bz2 |
gh-116750: Add clear_tool_id function to unregister events and callbacks (#124568)
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index 9d11e2d..45e79ad 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -654,6 +654,7 @@ init_interpreter(PyInterpreterState *interp, interp->monitoring_callables[t][e] = NULL; } + interp->monitoring_tool_versions[t] = 0; } interp->sys_profile_initialized = false; interp->sys_trace_initialized = false; |