Searched refs:PyExceptionInstance_Check (Results 1 – 9 of 9) sorted by relevance
103 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()
723 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()
667 if (PyExceptionInstance_Check(exc)) in PyCodec_StrictErrors()
5205 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()
56 #define PyExceptionInstance_Check(x) \ macro
512 else if (PyExceptionInstance_Check(typ)) { in _gen_throw()593 (!PyTuple_Check(value) && !PyExceptionInstance_Check(value))) in _PyGen_SetStopIterationValue()
258 } 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()
582 if (!PyExceptionInstance_Check(exc_val)) { in future_set_exception()1699 } else if (PyExceptionInstance_Check(type)) { in FutureIter_throw()
3377 if (!PyExceptionInstance_Check(value)) { in exception_print()