Home
last modified time | relevance | path

Searched refs:audit_hooks (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Include/internal/
Dpycore_pystate.h137 PyObject *audit_hooks; member
/external/python/cpython3/Python/
Dsysmodule.c125 || (is && is->audit_hooks) in should_audit()
189 if (is && is->audit_hooks) { in PySys_Audit()
195 hooks = PyObject_GetIter(is->audit_hooks); in PySys_Audit()
353 if (is->audit_hooks == NULL) { in sys_addaudithook_impl()
354 is->audit_hooks = PyList_New(0); in sys_addaudithook_impl()
355 if (is->audit_hooks == NULL) { in sys_addaudithook_impl()
360 if (PyList_Append(is->audit_hooks, hook) < 0) { in sys_addaudithook_impl()
Dpystate.c248 interp->audit_hooks = NULL; in PyInterpreterState_New()
267 Py_CLEAR(interp->audit_hooks); in _PyInterpreterState_Clear()