summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorMichael Droettboom <mdboom@gmail.com>2024-02-26 17:51:47 (GMT)
committerGitHub <noreply@github.com>2024-02-26 17:51:47 (GMT)
commitb05afdd5ec325bdb4cc89bb3be177ed577bea41f (patch)
treeecdb6276a76f5af92e3c3a9d249a5eb8361c9499 /Python/sysmodule.c
parent96c10c648565c7406d5606099dbbb937310c26dc (diff)
downloadcpython-b05afdd5ec325bdb4cc89bb3be177ed577bea41f.zip
cpython-b05afdd5ec325bdb4cc89bb3be177ed577bea41f.tar.gz
cpython-b05afdd5ec325bdb4cc89bb3be177ed577bea41f.tar.bz2
gh-115168: Add pystats counter for invalidated executors (GH-115169)
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 69b6d88..1bfd031 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -2138,7 +2138,7 @@ sys__clear_internal_caches_impl(PyObject *module)
/*[clinic end generated code: output=0ee128670a4966d6 input=253e741ca744f6e8]*/
{
PyInterpreterState *interp = _PyInterpreterState_GET();
- _Py_Executors_InvalidateAll(interp);
+ _Py_Executors_InvalidateAll(interp, 0);
PyType_ClearCache();
Py_RETURN_NONE;
}