Home
last modified time | relevance | path

Searched refs:PyExceptionInstance_Check (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Python/
Derrors.c103 if (exc != NULL && !PyExceptionInstance_Check(exc)) { in _PyErr_CreateException()
134 if (value == NULL || !PyExceptionInstance_Check(value)) { in _PyErr_SetObject()
186 if (value != NULL && PyExceptionInstance_Check(value)) in _PyErr_SetObject()
279 if (PyExceptionInstance_Check(err)) in PyErr_GivenExceptionMatches()
347 if (PyExceptionInstance_Check(value)) { in _PyErr_NormalizeException()
Dpythonrun.c723 if (PyExceptionInstance_Check(value)) { in _Py_HandleSystemExit()
896 if (!PyExceptionInstance_Check(value)) { in print_exception()
1059 else if (PyExceptionInstance_Check(value)) { in print_exception_recursive()
1114 if (PyExceptionInstance_Check(value) in _PyErr_Display()
Dcodecs.c667 if (PyExceptionInstance_Check(exc)) in PyCodec_StrictErrors()
Dceval.c5205 if (!PyExceptionInstance_Check(value)) { in do_raise()
5213 else if (PyExceptionInstance_Check(exc)) { in do_raise()
5238 else if (PyExceptionInstance_Check(cause)) { in do_raise()
/third_party/python/Include/
Dpyerrors.h56 #define PyExceptionInstance_Check(x) \ macro
/third_party/python/Objects/
Dgenobject.c512 else if (PyExceptionInstance_Check(typ)) { in _gen_throw()
593 (!PyTuple_Check(value) && !PyExceptionInstance_Check(value))) in _PyGen_SetStopIterationValue()
Dexceptions.c258 } else if (!PyExceptionInstance_Check(arg)) { in BaseException_set_context()
287 } else if (!PyExceptionInstance_Check(arg)) { in BaseException_set_cause()
315 assert(PyExceptionInstance_Check(exc)); in _PyBaseExceptionObject_cast()
/third_party/python/Modules/
D_asynciomodule.c582 if (!PyExceptionInstance_Check(exc_val)) { in future_set_exception()
1699 } else if (PyExceptionInstance_Check(type)) { in FutureIter_throw()
D_testcapimodule.c3377 if (!PyExceptionInstance_Check(value)) { in exception_print()