Home
last modified time | relevance | path

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

/external/python/cpython3/Include/internal/
Dpycore_interp.h140 PyObject *audit_hooks; member
/external/python/cpython3/Python/
Dsysmodule.c151 || is->audit_hooks in should_audit()
221 if (is->audit_hooks) { in sys_audit_tstate()
227 hooks = PyObject_GetIter(is->audit_hooks); in sys_audit_tstate()
437 if (is->audit_hooks == NULL) { in sys_addaudithook_impl()
438 is->audit_hooks = PyList_New(0); in sys_addaudithook_impl()
439 if (is->audit_hooks == NULL) { in sys_addaudithook_impl()
444 if (PyList_Append(is->audit_hooks, hook) < 0) { in sys_addaudithook_impl()
Dpystate.c262 interp->audit_hooks = NULL; in PyInterpreterState_New()
294 Py_CLEAR(interp->audit_hooks); in PyInterpreterState_Clear()