Searched refs:audit_hooks (Results 1 – 3 of 3) sorted by relevance
283 PyObject *audit_hooks; member
174 || 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()
273 interp->audit_hooks = NULL; in PyInterpreterState_New()302 Py_CLEAR(interp->audit_hooks); in interpreter_clear()