Searched refs:audit_hooks (Results 1 – 3 of 3) sorted by relevance
137 PyObject *audit_hooks; member
125 || (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()
248 interp->audit_hooks = NULL; in PyInterpreterState_New()267 Py_CLEAR(interp->audit_hooks); in _PyInterpreterState_Clear()