Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_traceback.py1083 s = traceback.StackSummary.extract(traceback.walk_stack(None))
1084 self.assertIsInstance(s, traceback.StackSummary)
1087 s = traceback.StackSummary.extract(traceback.walk_stack(None), limit=5)
1095 s = traceback.StackSummary.extract(iter([(f, 6)]), lookup_lines=True)
1103 s = traceback.StackSummary.extract(iter([(f, 6)]), lookup_lines=False)
1109 s = traceback.StackSummary.from_list([('foo.py', 1, 'fred', 'line')])
1115 s = traceback.StackSummary.from_list([('foo.py', 1, 'fred', 'line')])
1117 s2 = traceback.StackSummary.from_list(s)
1125 s = traceback.StackSummary.from_list([('foo.py', 1, 'fred', 'line')])
1134 s = traceback.StackSummary.extract(iter([(f, 6)]), capture_locals=True)
[all …]
/third_party/python/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)
227 stack = StackSummary.extract(walk_stack(f), limit=limit)
335 class StackSummary(list): class
396 result = StackSummary()
502 self.stack = StackSummary.extract(
/third_party/python/Doc/library/
Dtraceback.rst104 Return a :class:`StackSummary` object representing a list of "pre-processed"
194 used. This helper is used with :meth:`StackSummary.extract`.
201 for each frame. This helper is used with :meth:`StackSummary.extract`.
218 *capture_locals* are as for the :class:`StackSummary` class.
241 A :class:`StackSummary` representing the traceback.
270 *capture_locals* are as for the :class:`StackSummary` class.
306 :class:`StackSummary` Objects
311 :class:`StackSummary` objects represent a call stack ready for formatting.
313 .. class:: StackSummary
317 Construct a :class:`StackSummary` object from a frame generator (such as
[all …]
/third_party/python/Lib/asyncio/
Dformat_helpers.py72 stack = traceback.StackSummary.extract(traceback.walk_stack(f),
/third_party/python/Misc/NEWS.d/
D3.6.0a4.rst209 traceback.StackSummary.format now abbreviates large sections of repeated
/third_party/python/Doc/whatsnew/
D3.5.rst1954 :class:`~traceback.StackSummary`, and :class:`~traceback.FrameSummary`.