Skip to content

Commit

Permalink
pythongh-95913: Add traceback module additions to what's new in 3.11 (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel authored and tiran committed Aug 19, 2022
1 parent eae213f commit 4fe1cf8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Doc/whatsnew/3.11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,20 @@ time
it had a resolution of 1 millisecond (10\ :sup:`-3` seconds).
(Contributed by Benjamin Szőke, Dong-hee Na, Eryk Sun and Victor Stinner in :issue:`21302` and :issue:`45429`.)


traceback
---------

* Add :func:`traceback.StackSummary.format_frame_summary` to allow users
to override which frames appear in the traceback, and how they are
formatted.
(Contributed by Ammar Askar in :issue:`44569`.)

* Add :func:`traceback.TracebackException.print`, which prints the
formatted :exc:`~traceback.TracebackException` instance to a file.
(Contributed by Irit Katriel in :issue:`33809`.)


typing
------

Expand Down

0 comments on commit 4fe1cf8

Please sign in to comment.