/external/python/cpython2/Doc/library/ |
D | traceback.rst | 17 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
|
D | types.rst | 205 The type of traceback objects such as found in ``sys.exc_traceback``.
|
/external/python/cpython3/Include/internal/ |
D | pycore_pyerrors.h | 22 tb = exc_state->exc_traceback; in _PyErr_ClearExcState() 25 exc_state->exc_traceback = NULL; in _PyErr_ClearExcState()
|
/external/antlr/runtime/JavaScript/tests/functional/ |
D | rhino-python.input | 184 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/ |
D | traceback.rst | 194 .. 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/ |
D | simulator.py | 402 exc_type, exc_value, exc_traceback = sys.exc_info() 404 exc_type, exc_value, exc_traceback))
|
/external/python/cpython2/Lib/test/ |
D | test_traceback.py | 92 traceback.extract_tb(sys.exc_traceback) 109 src = traceback.extract_tb(sys.exc_traceback)[-1][-1]
|
/external/tensorflow/tensorflow/python/framework/ |
D | python_api_parameter_converter.cc | 77 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/ |
D | pystate.h | 81 PyObject *exc_traceback; member
|
/external/python/cpython3/Include/cpython/ |
D | pystate.h | 43 PyObject *exc_type, *exc_value, *exc_traceback; member
|
/external/python/cpython2/Python/ |
D | pystate.c | 188 tstate->exc_traceback = NULL; in new_threadstate() 248 Py_CLEAR(tstate->exc_traceback); in PyThreadState_Clear()
|
D | sysmodule.c | 158 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()
|
D | ceval.c | 3739 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/ |
D | cvslock.py | 265 sys.exc_traceback = None
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_compare.py | 205 sys.exc_traceback = sys.last_traceback = None 388 sys.exc_traceback = sys.last_traceback = None
|
/external/python/cpython3/Lib/ |
D | traceback.py | 468 def __init__(self, exc_type, exc_value, exc_traceback, *, limit=None, argument 509 walk_tb(exc_traceback), limit=limit, lookup_lines=lookup_lines,
|
D | pdb.py | 301 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/ |
D | cfmfile.py | 75 raise Res.Error, "no 'cfrg' resource found", sys.exc_traceback
|
/external/python/cpython3/Python/ |
D | errors.c | 444 *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/ |
D | test_thread.py | 152 self.assertIsNotNone(cm.unraisable.exc_traceback)
|
D | test_tabnanny.py | 78 def __exit__(self, exc_type, exc_value, exc_traceback): argument
|
D | test_threading.py | 1306 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/ |
D | 3.5.0b4.rst | 113 Fix a regression in traceback.print_exception(). If exc_traceback is None
|
/external/python/cpython3/Modules/ |
D | _threadmodule.c | 1354 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/ |
D | pdb.py | 197 exc_type, exc_value, exc_traceback = exc_info 203 self.interaction(frame, exc_traceback)
|