Skip to content

Commit c5bc67b

Browse files
authored
pythongh-95913: Add traceback module additions to what's new in 3.11 (pythonGH-95980)
1 parent 1a720c6 commit c5bc67b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Doc/whatsnew/3.11.rst

+14
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,20 @@ time
825825
it had a resolution of 1 millisecond (10\ :sup:`-3` seconds).
826826
(Contributed by Benjamin Szőke, Dong-hee Na, Eryk Sun and Victor Stinner in :issue:`21302` and :issue:`45429`.)
827827

828+
829+
traceback
830+
---------
831+
832+
* Add :func:`traceback.StackSummary.format_frame_summary` to allow users
833+
to override which frames appear in the traceback, and how they are
834+
formatted.
835+
(Contributed by Ammar Askar in :issue:`44569`.)
836+
837+
* Add :func:`traceback.TracebackException.print`, which prints the
838+
formatted :exc:`~traceback.TracebackException` instance to a file.
839+
(Contributed by Irit Katriel in :issue:`33809`.)
840+
841+
828842
typing
829843
------
830844

0 commit comments

Comments
 (0)