gh-115168: Add pystats counter for invalidated executors (GH-115169)
This commit is contained in:
committed by
GitHub
parent
96c10c6485
commit
b05afdd5ec
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user