Searched refs:PyTraceBack_Check (Results 1 – 8 of 8) sorted by relevance
14 #define PyTraceBack_Check(v) Py_IS_TYPE(v, &PyTraceBack_Type) macro
42 if ((next != NULL && !PyTraceBack_Check(next)) || in tb_create_raw()79 } else if (!PyTraceBack_Check(tb_next)) { in tb_new_impl()119 } else if (!PyTraceBack_Check(new_next)) { in tb_next_set()234 assert(tb_next == NULL || PyTraceBack_Check(tb_next)); in _PyTraceBack_FromFrame()605 if (!PyTraceBack_Check(v)) { in PyTraceBack_Print()
46 if (traceback != NULL && !PyTraceBack_Check(traceback)) { in _PyErr_Restore()1482 if (exc_tb != NULL && exc_tb != Py_None && PyTraceBack_Check(exc_tb)) { in _PyErr_WriteUnraisableMsg()
1115 && tb != NULL && PyTraceBack_Check(tb)) { in _PyErr_Display()
1291 assert(PyTraceBack_Check(tb)); in remove_importlib_frames()
499 else if (tb != NULL && !PyTraceBack_Check(tb)) { in _gen_throw()
230 else if (!(tb == Py_None || PyTraceBack_Check(tb))) { in BaseException_set_tb()
1686 } else if (tb != NULL && !PyTraceBack_Check(tb)) { in FutureIter_throw()