Home
last modified time | relevance | path

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

/third_party/python/Include/internal/
Dpycore_interp.h283 PyObject *audit_hooks; member
/third_party/python/Python/
Dsysmodule.c174 || interp->audit_hooks in should_audit()
244 if (is->audit_hooks) { in sys_audit_tstate()
250 hooks = PyObject_GetIter(is->audit_hooks); in sys_audit_tstate()
460 if (interp->audit_hooks == NULL) { in sys_addaudithook_impl()
461 interp->audit_hooks = PyList_New(0); in sys_addaudithook_impl()
462 if (interp->audit_hooks == NULL) { in sys_addaudithook_impl()
467 if (PyList_Append(interp->audit_hooks, hook) < 0) { in sys_addaudithook_impl()
Dpystate.c273 interp->audit_hooks = NULL; in PyInterpreterState_New()
302 Py_CLEAR(interp->audit_hooks); in interpreter_clear()