Home
last modified time | relevance | path

Searched refs:PyTraceBack_Check (Results 1 – 8 of 8) sorted by relevance

/third_party/python/Include/
Dtraceback.h14 #define PyTraceBack_Check(v) Py_IS_TYPE(v, &PyTraceBack_Type) macro
/third_party/python/Python/
Dtraceback.c42 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()
Derrors.c46 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()
Dpythonrun.c1115 && tb != NULL && PyTraceBack_Check(tb)) { in _PyErr_Display()
Dimport.c1291 assert(PyTraceBack_Check(tb)); in remove_importlib_frames()
/third_party/python/Objects/
Dgenobject.c499 else if (tb != NULL && !PyTraceBack_Check(tb)) { in _gen_throw()
Dexceptions.c230 else if (!(tb == Py_None || PyTraceBack_Check(tb))) { in BaseException_set_tb()
/third_party/python/Modules/
D_asynciomodule.c1686 } else if (tb != NULL && !PyTraceBack_Check(tb)) { in FutureIter_throw()