Home
last modified time | relevance | path

Searched refs:tb_next (Results 1 – 25 of 50) sorted by relevance

12

/external/python/jinja/src/jinja2/
Ddebug.py36 tb = tb.tb_next
46 tb = tb.tb_next
58 tb = tb.tb_next
60 tb_next = None
64 tb_next = tb_set_next(tb, tb_next)
66 return exc_value.with_traceback(tb_next)
157 return sys.exc_info()[2].tb_next
206 def tb_set_next(tb, tb_next): argument
207 tb.tb_next = tb_next
217 def tb_set_next(tb, tb_next): argument
[all …]
/external/python/cpython3/Lib/test/
Dtest_raise.py226 self.assertEqual(e.__traceback__.tb_next, tb)
242 self.assertIsInstance(tb.tb_next, types.TracebackType)
247 self.assertIs(tb.tb_next.tb_next, None)
251 del tb.tb_next
254 tb.tb_next = "asdf"
258 tb.tb_next = tb
261 tb.tb_next.tb_next = tb
264 tb.tb_next = None
265 self.assertIs(tb.tb_next, None)
268 tb.tb_next = new_tb
[all …]
Dtest_frame.py31 tb = tb.tb_next
151 tb = tb.tb_next
209 tb = tb.tb_next
/external/python/cpython3/Python/
Dtraceback.c50 tb->tb_next = next; in tb_create_raw()
73 tb_new_impl(PyTypeObject *type, PyObject *tb_next, PyFrameObject *tb_frame, in tb_new_impl() argument
77 if (tb_next == Py_None) { in tb_new_impl()
78 tb_next = NULL; in tb_new_impl()
79 } else if (!PyTraceBack_Check(tb_next)) { in tb_new_impl()
82 Py_TYPE(tb_next)->tp_name); in tb_new_impl()
85 return tb_create_raw((PyTracebackObject *)tb_next, tb_frame, tb_lasti, in tb_new_impl()
99 PyObject* ret = (PyObject*)self->tb_next; in tb_next_get()
133 cursor = cursor->tb_next; in tb_next_set()
136 PyObject *old_next = (PyObject*)self->tb_next; in tb_next_set()
[all …]
Dsuggestions.c211 PyTracebackObject *next = traceback->tb_next; in offer_suggestions_for_name_error()
/external/python/cpython3/Python/clinic/
Dtraceback.c.h12 tb_new_impl(PyTypeObject *type, PyObject *tb_next, PyFrameObject *tb_frame,
24 PyObject *tb_next; in tb_new() local
33 tb_next = fastargs[0]; in tb_new()
47 return_value = tb_new_impl(type, tb_next, tb_frame, tb_lasti, tb_lineno); in tb_new()
/external/libchrome/third_party/jinja2/
Ddebug.py44 def tb_next(self): member in TracebackFrameProxy
164 tb = tb.tb_next
172 tb = tb.tb_next
177 next = tb.tb_next
292 new_tb = exc_info[2].tb_next
351 if tb.tb_next is not None:
352 old = _Traceback.from_address(id(tb.tb_next))
355 obj.tb_next = ctypes.POINTER(_Traceback)()
359 obj.tb_next = ctypes.pointer(next)
/external/python/cpython2/Python/
Dtraceback.c15 {"tb_next", T_OBJECT, OFF(tb_next), READONLY},
27 Py_XDECREF(tb->tb_next); in tb_dealloc()
36 Py_VISIT(tb->tb_next); in tb_traverse()
44 Py_CLEAR(tb->tb_next); in tb_clear()
95 tb->tb_next = next; in newtracebackobject()
239 tb1 = tb1->tb_next; in tb_printinternal()
250 tb = tb->tb_next; in tb_printinternal()
/external/python/cpython3/Lib/unittest/
Dresult.py203 tb = tb.tb_next
235 tb = tb.tb_next
237 prev.tb_next = None
/external/python/cpython3/Include/cpython/
Dtraceback.h7 struct _traceback *tb_next; member
/external/python/cpython2/Include/
Dtraceback.h14 struct _traceback *tb_next; member
/external/python/cpython3/Lib/
Ddis.py95 while tb.tb_next: tb = tb.tb_next
501 while tb.tb_next:
502 tb = tb.tb_next
Dcode.py142 lines = traceback.format_exception(ei[0], ei[1], last_tb.tb_next)
Dtraceback.py240 tb = tb.tb_next
330 tb = tb.tb_next
Dbdb.py536 t = t.tb_next
546 t = t.tb_next
/external/python/cpython2/Lib/idlelib/
DStackViewer.py32 tb = tb.tb_next
35 tb = tb.tb_next
/external/python/cpython3/Lib/idlelib/
Dstackviewer.py33 tb = tb.tb_next
36 tb = tb.tb_next
/external/python/cpython2/Lib/unittest/
Dresult.py157 tb = tb.tb_next
187 tb = tb.tb_next
/external/python/cpython3/Include/internal/
Dpycore_traceback.h87 PyObject *tb_next,
/external/python/cpython2/Lib/
Ddis.py58 while tb.tb_next: tb = tb.tb_next
Dtraceback.py71 tb = tb.tb_next
105 tb = tb.tb_next
Dbdb.py344 t = t.tb_next
354 t = t.tb_next
/external/python/cpython3/Lib/asyncio/
Dbase_tasks.py56 tb = tb.tb_next
/external/python/cpython2/Demo/pysvr/
Dpysvr.py116 if tb: tb = tb.tb_next
/external/python/six/
Dtest_six.py593 return tb.tb_next.tb_next
595 return tb.tb_next

12