Searched refs:PyExceptionInstance_Check (Results 1 – 15 of 15) sorted by relevance
102 if (value == NULL || !PyExceptionInstance_Check(value)) { in PyErr_SetObject()140 if (value != NULL && PyExceptionInstance_Check(value)) in PyErr_SetObject()204 if (PyExceptionInstance_Check(err)) in PyErr_GivenExceptionMatches()261 if (PyExceptionInstance_Check(value)) { in PyErr_NormalizeException()
597 if (PyExceptionInstance_Check(value)) { in handle_system_exit()724 if (!PyExceptionInstance_Check(value)) { in print_exception()857 else if (PyExceptionInstance_Check(value)) { in print_exception_recursive()911 if (PyExceptionInstance_Check(value) in PyErr_Display()
670 if (PyExceptionInstance_Check(exc)) in PyCodec_StrictErrors()
4018 if (!PyExceptionInstance_Check(value)) { in do_raise()4026 else if (PyExceptionInstance_Check(exc)) { in do_raise()4051 else if (PyExceptionInstance_Check(cause)) { in do_raise()
105 if (PyExceptionInstance_Check(err)) in PyErr_GivenExceptionMatches()166 if (PyExceptionInstance_Check(value)) in PyErr_NormalizeException()
618 if (PyExceptionInstance_Check(exc)) in PyCodec_StrictErrors()
1127 if (PyExceptionInstance_Check(value)) { in handle_system_exit()
3871 if (!PyExceptionInstance_Check(value)) { in do_raise()3880 else if (PyExceptionInstance_Check(type)) { in do_raise()
245 else if (PyExceptionInstance_Check(typ)) { in gen_throw()
102 #define PyExceptionInstance_Check(x) \ macro
140 #define PyExceptionInstance_Check(x) \ macro
484 else if (PyExceptionInstance_Check(typ)) { in _gen_throw()557 (!PyTuple_Check(value) && !PyExceptionInstance_Check(value))) in _PyGen_SetStopIterationValue()
253 } else if (!PyExceptionInstance_Check(arg)) { in BaseException_set_context()282 } else if (!PyExceptionInstance_Check(arg)) { in BaseException_set_cause()
568 if (!PyExceptionInstance_Check(exc_val)) { in future_set_exception()1580 } else if (PyExceptionInstance_Check(type)) { in FutureIter_throw()
2868 if (!PyExceptionInstance_Check(value)) { in exception_print()