Home
last modified time | relevance | path

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

12

/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/Lib/
Dtraceback.py465 def __init__(self, exc_type, exc_value, exc_traceback, *, limit=None, argument
500 self.exc_traceback = exc_traceback
507 walk_tb(exc_traceback), limit=limit, lookup_lines=lookup_lines,
608 if self.exc_traceback is not None:
Dpdb.py300 exc_type, exc_value, exc_traceback = exc_info
308 prefix = 'Internal ' if (not exc_traceback
312 self.interaction(frame, exc_traceback)
/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/python/cpython2/Include/
Dpystate.h81 PyObject *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/Lib/bsddb/test/
Dtest_compare.py205 sys.exc_traceback = sys.last_traceback = None
388 sys.exc_traceback = sys.last_traceback = None
/external/python/cpython2/Demo/pdist/
Dcvslock.py265 sys.exc_traceback = None
/external/python/cpython3/Python/
Derrors.c362 *p_traceback = exc_info->exc_traceback; in PyErr_GetExcInfo()
378 oldtraceback = tstate->exc_info->exc_traceback; in PyErr_SetExcInfo()
382 tstate->exc_info->exc_traceback = p_traceback; in PyErr_SetExcInfo()
Dpystate.c385 tstate->exc_state.exc_traceback = NULL; in new_threadstate()
582 Py_CLEAR(tstate->exc_state.exc_traceback); in PyThreadState_Clear()
Dceval.c823 traceback = exc_info->exc_traceback; \ in _PyEval_EvalFrameDefault()
826 exc_info->exc_traceback = POP(); \ in _PyEval_EvalFrameDefault()
3393 PUSH(exc_info->exc_traceback); in _PyEval_EvalFrameDefault()
3417 exc_info->exc_traceback = tb; in _PyEval_EvalFrameDefault()
3995 tb = exc_info->exc_traceback; in do_raise()
/external/python/cpython3/Objects/
Dgenobject.c24 Py_VISIT(exc_state->exc_traceback); in exc_state_traverse()
106 tb = exc_state->exc_traceback; in exc_state_clear()
109 exc_state->exc_traceback = NULL; in exc_state_clear()
794 gen->gi_exc_state.exc_traceback = NULL; in gen_new_with_qualname()
/external/python/cpython2/Lib/plat-mac/
Dcfmfile.py75 raise Res.Error, "no 'cfrg' resource found", sys.exc_traceback
/external/python/cpython3/Include/
Dpystate.h205 PyObject *exc_type, *exc_value, *exc_traceback; member
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b4.rst113 Fix a regression in traceback.print_exception(). If exc_traceback is None
/external/python/cpython2/Lib/
Dpdb.py197 exc_type, exc_value, exc_traceback = exc_info
203 self.interaction(frame, exc_traceback)
Dbdb.py171 exc_type, exc_value, exc_traceback = exc_info
/external/python/cpython2/Doc/reference/
Dcompound_stmts.rst264 single: exc_traceback (in module sys)
269 parameter; ``sys.exc_traceback`` receives a traceback object (see section
272 function, which returns a tuple ``(exc_type, exc_value, exc_traceback)``. Use
/external/tensorflow/tensorflow/python/debug/lib/
Dstepper.py190 def __exit__(self, exc_type, exc_value, exc_traceback): argument

12