Home
last modified time | relevance | path

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

/third_party/python/Python/
Derrors.c1467 PyObject *hook_args = make_unraisable_hook_args( in _PyErr_WriteUnraisableMsg() local
1469 if (hook_args == NULL) { in _PyErr_WriteUnraisableMsg()
1478 Py_DECREF(hook_args); in _PyErr_WriteUnraisableMsg()
1482 if (_PySys_Audit(tstate, "sys.unraisablehook", "OO", hook, hook_args) < 0) { in _PyErr_WriteUnraisableMsg()
1483 Py_DECREF(hook_args); in _PyErr_WriteUnraisableMsg()
1490 Py_DECREF(hook_args); in _PyErr_WriteUnraisableMsg()
1494 PyObject *res = PyObject_CallOneArg(hook, hook_args); in _PyErr_WriteUnraisableMsg()
1495 Py_DECREF(hook_args); in _PyErr_WriteUnraisableMsg()
/third_party/python/Lib/test/
Dtest_sys.py1024 hook_args = None
1027 nonlocal hook_args
1028 hook_args = args
1036 self.assertEqual(getattr(hook_args, attr),
1038 (hook_args, expected))
1042 hook_args = None
Dtest_threading.py1294 def hook(hook_args): argument
1296 args = hook_args