Searched refs:StackSummary (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_traceback.py | 838 s = traceback.StackSummary.extract(traceback.walk_stack(None)) 839 self.assertIsInstance(s, traceback.StackSummary) 842 s = traceback.StackSummary.extract(traceback.walk_stack(None), limit=5) 850 s = traceback.StackSummary.extract(iter([(f, 6)]), lookup_lines=True) 858 s = traceback.StackSummary.extract(iter([(f, 6)]), lookup_lines=False) 864 s = traceback.StackSummary.from_list([('foo.py', 1, 'fred', 'line')]) 870 s = traceback.StackSummary.from_list([('foo.py', 1, 'fred', 'line')]) 872 s2 = traceback.StackSummary.from_list(s) 880 s = traceback.StackSummary.from_list([('foo.py', 1, 'fred', 'line')]) 889 s = traceback.StackSummary.extract(iter([(f, 6)]), capture_locals=True) [all …]
|
/external/python/cpython3/Lib/ |
D | traceback.py | 24 for item in StackSummary.from_list(extracted_list).format(): 37 return StackSummary.from_list(extracted_list).format() 68 return StackSummary.extract(walk_tb(tb), limit=limit) 207 stack = StackSummary.extract(walk_stack(f), limit=limit) 310 class StackSummary(list): class 372 result = StackSummary() 495 self.stack = StackSummary.extract(
|
/external/python/cpython3/Doc/library/ |
D | traceback.rst | 161 used. This helper is used with :meth:`StackSummary.extract`. 168 for each frame. This helper is used with :meth:`StackSummary.extract`. 185 *capture_locals* are as for the :class:`StackSummary` class. 203 A :class:`StackSummary` representing the traceback. 232 *capture_locals* are as for the :class:`StackSummary` class. 265 :class:`StackSummary` Objects 270 :class:`StackSummary` objects represent a call stack ready for formatting. 272 .. class:: StackSummary 276 Construct a :class:`StackSummary` object from a frame generator (such as 283 creating the :class:`StackSummary` cheaper (which may be valuable if it [all …]
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 1954 :class:`~traceback.StackSummary`, and :class:`~traceback.FrameSummary`.
|
/external/python/cpython3/Misc/ |
D | NEWS | 1545 - Issue #26823: traceback.StackSummary.format now abbreviates large sections of
|