Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_traceback.py948 s = traceback.StackSummary.extract(traceback.walk_stack(None))
949 self.assertIsInstance(s, traceback.StackSummary)
952 s = traceback.StackSummary.extract(traceback.walk_stack(None), limit=5)
960 s = traceback.StackSummary.extract(iter([(f, 6)]), lookup_lines=True)
968 s = traceback.StackSummary.extract(iter([(f, 6)]), lookup_lines=False)
974 s = traceback.StackSummary.from_list([('foo.py', 1, 'fred', 'line')])
980 s = traceback.StackSummary.from_list([('foo.py', 1, 'fred', 'line')])
982 s2 = traceback.StackSummary.from_list(s)
990 s = traceback.StackSummary.from_list([('foo.py', 1, 'fred', 'line')])
999 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)
318 class StackSummary(list): class
379 result = StackSummary()
508 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/tensorflow/tensorflow/python/util/
Dtf_stack.py198 StackSummary = _tf_stack.StackTraceWrapper variable
/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`.