Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Derrors.c102 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()
Dpythonrun.c597 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()
Dcodecs.c670 if (PyExceptionInstance_Check(exc)) in PyCodec_StrictErrors()
Dceval.c4018 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()
/external/python/cpython2/Python/
Derrors.c105 if (PyExceptionInstance_Check(err)) in PyErr_GivenExceptionMatches()
166 if (PyExceptionInstance_Check(value)) in PyErr_NormalizeException()
Dcodecs.c618 if (PyExceptionInstance_Check(exc)) in PyCodec_StrictErrors()
Dpythonrun.c1127 if (PyExceptionInstance_Check(value)) { in handle_system_exit()
Dceval.c3871 if (!PyExceptionInstance_Check(value)) { in do_raise()
3880 else if (PyExceptionInstance_Check(type)) { in do_raise()
/external/python/cpython2/Objects/
Dgenobject.c245 else if (PyExceptionInstance_Check(typ)) { in gen_throw()
/external/python/cpython2/Include/
Dpyerrors.h102 #define PyExceptionInstance_Check(x) \ macro
/external/python/cpython3/Include/
Dpyerrors.h140 #define PyExceptionInstance_Check(x) \ macro
/external/python/cpython3/Objects/
Dgenobject.c484 else if (PyExceptionInstance_Check(typ)) { in _gen_throw()
557 (!PyTuple_Check(value) && !PyExceptionInstance_Check(value))) in _PyGen_SetStopIterationValue()
Dexceptions.c253 } else if (!PyExceptionInstance_Check(arg)) { in BaseException_set_context()
282 } else if (!PyExceptionInstance_Check(arg)) { in BaseException_set_cause()
/external/python/cpython3/Modules/
D_asynciomodule.c568 if (!PyExceptionInstance_Check(exc_val)) { in future_set_exception()
1580 } else if (PyExceptionInstance_Check(type)) { in FutureIter_throw()
D_testcapimodule.c2868 if (!PyExceptionInstance_Check(value)) { in exception_print()