Home
last modified time | relevance | path

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

12

/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.py30 tb = tb.tb_next
130 tb = tb.tb_next
188 tb = tb.tb_next
Dtest_traceback.py231 cleanup_func(tb.tb_next)
853 inner_frame = tb.tb_next.tb_next.tb_next.tb_frame
Dtest_dis.py22 while tb.tb_next:
23 tb = tb.tb_next
1100 while tb.tb_next: tb = tb.tb_next
/external/python/cpython3/Python/clinic/
Dtraceback.c.h12 tb_new_impl(PyTypeObject *type, PyObject *tb_next, PyFrameObject *tb_frame,
21 PyObject *tb_next; in tb_new() local
27 &tb_next, &PyFrame_Type, &tb_frame, &tb_lasti, &tb_lineno)) { in tb_new()
30 return_value = tb_new_impl(type, tb_next, tb_frame, tb_lasti, tb_lineno); in tb_new()
/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 …]
/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/
Ddis.py86 while tb.tb_next: tb = tb.tb_next
496 while tb.tb_next:
497 tb = tb.tb_next
Dcode.py142 lines = traceback.format_exception(ei[0], ei[1], last_tb.tb_next)
Dtraceback.py224 tb = tb.tb_next
310 tb = tb.tb_next
Dbdb.py517 t = t.tb_next
527 t = t.tb_next
/external/python/cpython2/Lib/unittest/
Dresult.py157 tb = tb.tb_next
187 tb = tb.tb_next
/external/python/cpython3/Lib/idlelib/
Dstackviewer.py33 tb = tb.tb_next
36 tb = tb.tb_next
/external/python/cpython2/Lib/idlelib/
DStackViewer.py32 tb = tb.tb_next
35 tb = tb.tb_next
/external/python/cpython2/Include/
Dtraceback.h14 struct _traceback *tb_next; member
/external/python/cpython3/Lib/unittest/
Dresult.py178 tb = tb.tb_next
210 tb = tb.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/Include/
Dtraceback.h16 struct _traceback *tb_next; member
/external/python/cpython3/Lib/asyncio/
Dbase_tasks.py47 tb = tb.tb_next
/external/python/cpython2/Demo/pysvr/
Dpysvr.py116 if tb: tb = tb.tb_next
/external/python/setuptools/setuptools/command/
Dsdist.py110 tb.tb_next.tb_frame.f_locals['template'].close()
/external/python/six/
Dtest_six.py593 return tb.tb_next.tb_next
595 return tb.tb_next

12