Searched refs:PyExceptionInstance_Class (Results 1 – 6 of 6) sorted by relevance
668 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_StrictErrors()1156 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogatePassErrors()1174 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogatePassErrors()1235 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogatePassErrors()1271 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogatePassErrors()1314 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogateEscapeErrors()1348 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogateEscapeErrors()
273 err = PyExceptionInstance_Class(err); in PyErr_GivenExceptionMatches()341 inclass = PyExceptionInstance_Class(value); in _PyErr_NormalizeException()467 PyObject *type = PyExceptionInstance_Class(exc_value); in get_exc_type()
2683 PyObject *exc = Py_NewRef(PyExceptionInstance_Class(val));2715 PyObject *exc = Py_NewRef(PyExceptionInstance_Class(val));4450 exc = PyExceptionInstance_Class(val);6539 type = PyExceptionInstance_Class(value);6567 type = PyExceptionInstance_Class(exc);
65 #define PyExceptionInstance_Class(x) ((PyObject*)Py_TYPE(x)) macro
866 PyErr_SetObject(PyExceptionInstance_Class(result), result); in _asyncio_Future_result_impl()1694 type = PyExceptionInstance_Class(type); in FutureIter_throw()
538 typ = PyExceptionInstance_Class(typ); in _gen_throw()