Home
last modified time | relevance | path

Searched refs:StackSummary (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_traceback.py923 s = traceback.StackSummary.extract(traceback.walk_stack(None))
924 self.assertIsInstance(s, traceback.StackSummary)
927 s = traceback.StackSummary.extract(traceback.walk_stack(None), limit=5)
935 s = traceback.StackSummary.extract(iter([(f, 6)]), lookup_lines=True)
943 s = traceback.StackSummary.extract(iter([(f, 6)]), lookup_lines=False)
949 s = traceback.StackSummary.from_list([('foo.py', 1, 'fred', 'line')])
955 s = traceback.StackSummary.from_list([('foo.py', 1, 'fred', 'line')])
957 s2 = traceback.StackSummary.from_list(s)
965 s = traceback.StackSummary.from_list([('foo.py', 1, 'fred', 'line')])
974 s = traceback.StackSummary.extract(iter([(f, 6)]), capture_locals=True)
[all …]
/external/python/cpython3/Lib/
Dtraceback.py24 for item in StackSummary.from_list(extracted_list).format():
39 return StackSummary.from_list(extracted_list).format()
72 return StackSummary.extract(walk_tb(tb), limit=limit)
211 stack = StackSummary.extract(walk_stack(f), limit=limit)
315 class StackSummary(list): class
376 result = StackSummary()
506 self.stack = StackSummary.extract(
/external/python/cpython3/Doc/library/
Dtraceback.rst95 Return a :class:`StackSummary` object representing a list of "pre-processed"
173 used. This helper is used with :meth:`StackSummary.extract`.
180 for each frame. This helper is used with :meth:`StackSummary.extract`.
197 *capture_locals* are as for the :class:`StackSummary` class.
215 A :class:`StackSummary` representing the traceback.
244 *capture_locals* are as for the :class:`StackSummary` class.
277 :class:`StackSummary` Objects
282 :class:`StackSummary` objects represent a call stack ready for formatting.
284 .. class:: StackSummary
288 Construct a :class:`StackSummary` object from a frame generator (such as
[all …]
/external/python/cpython3/Lib/asyncio/
Dformat_helpers.py72 stack = traceback.StackSummary.extract(traceback.walk_stack(f),
/external/python/cpython3/Misc/NEWS.d/
D3.6.0a4.rst209 traceback.StackSummary.format now abbreviates large sections of repeated
/external/python/cpython3/Doc/whatsnew/
D3.5.rst1954 :class:`~traceback.StackSummary`, and :class:`~traceback.FrameSummary`.