Home
last modified time | relevance | path

Searched refs:tb (Results 1 – 5 of 5) sorted by relevance

/petsc/src/binding/petsc4py/src/
H A Dpyapicompat.h66 PyObject *t, *v, *tb; in PyErr_GetRaisedException() local
67 PyErr_Fetch(&t, &v, &tb); in PyErr_GetRaisedException()
68 PyErr_NormalizeException(&t, &v, &tb); in PyErr_GetRaisedException()
69 if (tb != NULL) PyException_SetTraceback(v, tb); in PyErr_GetRaisedException()
71 Py_XDECREF(tb); in PyErr_GetRaisedException()
79 PyObject *tb = PyException_GetTraceback(v); in PyErr_SetRaisedException_312() local
81 Py_XINCREF(tb); in PyErr_SetRaisedException_312()
82 PyErr_Restore(t, v, tb); in PyErr_SetRaisedException_312()
/petsc/src/sys/python/
H A Dpythonsys.c269 PyObject *exc = NULL, *val = NULL, *tb = NULL; in PetscPythonPrintError() local
274 PyErr_Fetch(&exc, &val, &tb); in PetscPythonPrintError()
275 PyErr_NormalizeException(&exc, &val, &tb); in PetscPythonPrintError()
276 PyErr_Display(exc ? exc : Py_None, val ? val : Py_None, tb ? tb : Py_None); in PetscPythonPrintError()
277 PyErr_Restore(exc, val, tb); in PetscPythonPrintError()
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/
H A D_utility.py36 etype, value, tb = sys.exc_info()
37 ret = traceback.format_exception(etype, value, tb, chain=True)
/petsc/config/BuildSystem/config/
H A Dframework.py1298 tb = io.StringIO()
1300 traceback.print_tb(tbo, file = tb)
1301 out += tb.getvalue()
1302 tb.close()
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas2306 (dpm/spray-suite/etab-tb 5.5)