Skip to content

Commit

Permalink
gh-95913: Add traceback module additions to what's new in 3.11 (GH-95980
Browse files Browse the repository at this point in the history
) (GH-96064)

(cherry picked from commit c5bc67b)

Co-authored-by: Irit Katriel <[email protected]>

Co-authored-by: Irit Katriel <[email protected]>
  • Loading branch information
miss-islington and iritkatriel authored Aug 18, 2022
1 parent 504da3c commit 7c334a3
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 @@ -808,6 +808,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 7c334a3

Please sign in to comment.