Home
last modified time | relevance | path

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

123

/external/python/cpython2/Doc/library/
Dtraceback.rst17 the variables :data:`sys.exc_traceback` (deprecated) and
46 sys.exc_traceback, limit, file)``. (In fact, it uses :func:`sys.exc_info` to
182 exc_type, exc_value, exc_traceback = sys.exc_info()
184 traceback.print_tb(exc_traceback, limit=1, file=sys.stdout)
186 traceback.print_exception(exc_type, exc_value, exc_traceback,
196 exc_traceback))
198 print repr(traceback.extract_tb(exc_traceback))
200 print repr(traceback.format_tb(exc_traceback))
201 print "*** tb_lineno:", exc_traceback.tb_lineno
Dtypes.rst205 The type of traceback objects such as found in ``sys.exc_traceback``.
/external/python/cpython3/Include/internal/
Dpycore_pyerrors.h22 tb = exc_state->exc_traceback; in _PyErr_ClearExcState()
25 exc_state->exc_traceback = NULL; in _PyErr_ClearExcState()
/external/antlr/runtime/JavaScript/tests/functional/
Drhino-python.input184 exc_type, exc_value, exc_traceback = sys.exc_info()
185 l = len(traceback.extract_tb(sys.exc_traceback))
189 m = len(traceback.extract_tb(sys.exc_traceback))
190 traceback.print_exception(exc_type, exc_value, exc_traceback, l-m)
/external/python/cpython3/Doc/library/
Dtraceback.rst194 .. class:: TracebackException(exc_type, exc_value, exc_traceback, *, limit=None, lookup_lines=True,…
383 exc_type, exc_value, exc_traceback = sys.exc_info()
385 traceback.print_tb(exc_traceback, limit=1, file=sys.stdout)
388 traceback.print_exception(exc_type, exc_value, exc_traceback,
399 exc_traceback)))
401 print(repr(traceback.extract_tb(exc_traceback)))
403 print(repr(traceback.format_tb(exc_traceback)))
404 print("*** tb_lineno:", exc_traceback.tb_lineno)
/external/autotest/client/deps/lansim/src/py/
Dsimulator.py402 exc_type, exc_value, exc_traceback = sys.exc_info()
404 exc_type, exc_value, exc_traceback))
/external/python/cpython2/Lib/test/
Dtest_traceback.py92 traceback.extract_tb(sys.exc_traceback)
109 src = traceback.extract_tb(sys.exc_traceback)[-1][-1]
/external/tensorflow/tensorflow/python/framework/
Dpython_api_parameter_converter.cc77 PyObject* exc_traceback; in RaiseTypeError() local
78 PyErr_Fetch(&exc_type, &exc_value, &exc_traceback); in RaiseTypeError()
82 Py_XDECREF(exc_traceback); in RaiseTypeError()
/external/python/cpython2/Include/
Dpystate.h81 PyObject *exc_traceback; member
/external/python/cpython3/Include/cpython/
Dpystate.h43 PyObject *exc_type, *exc_value, *exc_traceback; member
/external/python/cpython2/Python/
Dpystate.c188 tstate->exc_traceback = NULL; in new_threadstate()
248 Py_CLEAR(tstate->exc_traceback); in PyThreadState_Clear()
Dsysmodule.c158 tstate->exc_traceback != NULL ? in sys_exc_info()
159 tstate->exc_traceback : Py_None); in sys_exc_info()
182 tmp_tb = tstate->exc_traceback; in sys_exc_clear()
185 tstate->exc_traceback = NULL; in sys_exc_clear()
Dceval.c3739 Py_XINCREF(tstate->exc_traceback); in set_exc_info()
3742 frame->f_exc_traceback = tstate->exc_traceback; in set_exc_info()
3747 tmp_tb = tstate->exc_traceback; in set_exc_info()
3753 tstate->exc_traceback = tb; in set_exc_info()
3780 tmp_tb = tstate->exc_traceback; in reset_exc_info()
3786 tstate->exc_traceback = frame->f_exc_traceback; in reset_exc_info()
3818 tb = tstate->exc_traceback; in do_raise()
/external/python/cpython2/Demo/pdist/
Dcvslock.py265 sys.exc_traceback = None
/external/python/cpython2/Lib/bsddb/test/
Dtest_compare.py205 sys.exc_traceback = sys.last_traceback = None
388 sys.exc_traceback = sys.last_traceback = None
/external/python/cpython3/Lib/
Dtraceback.py468 def __init__(self, exc_type, exc_value, exc_traceback, *, limit=None, argument
509 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)
/external/python/cpython2/Lib/plat-mac/
Dcfmfile.py75 raise Res.Error, "no 'cfrg' resource found", sys.exc_traceback
/external/python/cpython3/Python/
Derrors.c444 *p_traceback = exc_info->exc_traceback; in _PyErr_GetExcInfo()
467 oldtraceback = tstate->exc_info->exc_traceback; in PyErr_SetExcInfo()
471 tstate->exc_info->exc_traceback = p_traceback; in PyErr_SetExcInfo()
556 tb2 = exc_info->exc_traceback; in _PyErr_ChainStackItem()
/external/python/cpython3/Lib/test/
Dtest_thread.py152 self.assertIsNotNone(cm.unraisable.exc_traceback)
Dtest_tabnanny.py78 def __exit__(self, exc_type, exc_value, exc_traceback): argument
Dtest_threading.py1306 self.assertEqual(args.exc_traceback, args.exc_value.__traceback__)
1318 def sys_hook(exc_type, exc_value, exc_traceback): argument
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b4.rst113 Fix a regression in traceback.print_exception(). If exc_traceback is None
/external/python/cpython3/Modules/
D_threadmodule.c1354 PyObject *exc_traceback, PyObject *thread) in thread_excepthook_file() argument
1399 _PyErr_Display(file, exc_type, exc_value, exc_traceback); in thread_excepthook_file()
/external/python/cpython2/Lib/
Dpdb.py197 exc_type, exc_value, exc_traceback = exc_info
203 self.interaction(frame, exc_traceback)

123