Home
last modified time | relevance | path

Searched refs:exc_traceback (Results 1 – 25 of 29) sorted by relevance

12

/third_party/python/Lib/test/support/
Dthreading_helper.py189 self.exc_traceback = None
196 self.exc_traceback = args.exc_traceback
208 del self.exc_traceback
/third_party/python/Include/internal/
Dpycore_pyerrors.h22 tb = exc_state->exc_traceback; in _PyErr_ClearExcState()
25 exc_state->exc_traceback = NULL; in _PyErr_ClearExcState()
/third_party/python/Doc/library/
Dtraceback.rst215 .. class:: TracebackException(exc_type, exc_value, exc_traceback, *, limit=None, lookup_lines=True,…
412 exc_type, exc_value, exc_traceback = sys.exc_info()
414 traceback.print_tb(exc_traceback, limit=1, file=sys.stdout)
417 traceback.print_exception(exc_type, exc_value, exc_traceback,
428 exc_traceback)))
430 print(repr(traceback.extract_tb(exc_traceback)))
432 print(repr(traceback.format_tb(exc_traceback)))
433 print("*** tb_lineno:", exc_traceback.tb_lineno)
D2to3.rst409 :data:`sys.exc_traceback` to use :func:`sys.exc_info`.
Dtest.rst1266 * ``exc_traceback``
1280 # exc_type, exc_value, exc_traceback, thread
1283 # exc_type, exc_value, exc_traceback, thread attributes of cm no longer
/third_party/python/Include/cpython/
Dpystate.h52 PyObject *exc_type, *exc_value, *exc_traceback; member
/third_party/python/Lib/
Dtraceback.py489 def __init__(self, exc_type, exc_value, exc_traceback, *, limit=None, argument
503 walk_tb(exc_traceback), limit=limit, lookup_lines=lookup_lines,
Dpdb.py301 exc_type, exc_value, exc_traceback = exc_info
309 prefix = 'Internal ' if (not exc_traceback
313 self.interaction(frame, exc_traceback)
Dthreading.py1285 _print_exception(args.exc_type, args.exc_value, args.exc_traceback,
/third_party/python/Python/
Derrors.c474 *p_traceback = exc_info->exc_traceback; in _PyErr_GetExcInfo()
497 oldtraceback = tstate->exc_info->exc_traceback; in PyErr_SetExcInfo()
501 tstate->exc_info->exc_traceback = p_traceback; in PyErr_SetExcInfo()
586 tb2 = exc_info->exc_traceback; in _PyErr_ChainStackItem()
Dpystate.c643 tstate->exc_state.exc_traceback = NULL; in new_threadstate()
857 Py_CLEAR(tstate->exc_state.exc_traceback); in PyThreadState_Clear()
1287 err_info->exc_traceback != NULL ? err_info->exc_traceback : Py_None); in _PyThread_CurrentExceptions()
Dceval.c1468 traceback = exc_info->exc_traceback; \
1471 exc_info->exc_traceback = POP(); \
2672 traceback = exc_info->exc_traceback; in _PyEval_EvalFrameDefault()
2675 exc_info->exc_traceback = POP(); in _PyEval_EvalFrameDefault()
4473 PUSH(exc_info->exc_traceback); in _PyEval_EvalFrameDefault()
4496 exc_info->exc_traceback = tb; in _PyEval_EvalFrameDefault()
5182 tb = exc_info->exc_traceback; in do_raise()
Dsysmodule.c793 err_info->exc_traceback != NULL ? in sys_exc_info_impl()
794 err_info->exc_traceback : Py_None); in sys_exc_info_impl()
/third_party/python/Lib/test/
Dtest_thread.py154 self.assertIsNotNone(cm.unraisable.exc_traceback)
Dtest_tabnanny.py79 def __exit__(self, exc_type, exc_value, exc_traceback): argument
Dtest_threading.py1482 self.assertEqual(args.exc_traceback, args.exc_value.__traceback__)
1494 def sys_hook(exc_type, exc_value, exc_traceback): argument
Dtest_sys.py1013 exc_traceback=exc.__traceback__,
Dtest_exceptions.py1486 self.assertIsNotNone(cm.unraisable.exc_traceback)
/third_party/python/Misc/NEWS.d/
D3.5.0b4.rst113 Fix a regression in traceback.print_exception(). If exc_traceback is None
/third_party/python/Modules/
D_threadmodule.c1409 PyObject *exc_traceback, PyObject *thread) in thread_excepthook_file() argument
1454 _PyErr_Display(file, exc_type, exc_value, exc_traceback); in thread_excepthook_file()
D_asynciomodule.c810 Py_VISIT(exc_state->exc_traceback); in FutureObj_traverse()
2700 exc_state->exc_traceback = tb; in task_step_impl()
/third_party/mbedtls/scripts/mbedtls_dev/
Dmacro_collector.py67 def __exit__(self, exc_type, exc_value, exc_traceback) -> None: argument
/third_party/python/Objects/
Dgenobject.c27 Py_VISIT(exc_state->exc_traceback); in exc_state_traverse()
846 gen->gi_exc_state.exc_traceback = NULL; in gen_new_with_qualname()
/third_party/python/Lib/importlib/
D_bootstrap.py897 def __exit__(self, exc_type, exc_value, exc_traceback): argument
/third_party/python/Lib/asyncio/
Dunix_events.py910 def __exit__(self, exc_type, exc_value, exc_traceback): argument

12