Skip to content
Prev Previous commit
Next Next commit
Add zero-cost exceptions moved from Optimization section
  • Loading branch information
CAM-Gerlach committed Oct 20, 2022
commit 2b24d4e39df634e57b4497af1ffa20c415bee84d
4 changes: 4 additions & 0 deletions Doc/whatsnew/3.11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1359,6 +1359,10 @@ Misc
Their namespace dictionaries now also share keys more freely.
(Contributed Mark Shannon in :issue:`45340` and :issue:`40116`.)

* "Zero-cost" exceptions are implemented, eliminating the cost
of :keyword:`try` statements when no exception is raised.
(Contributed by Mark Shannon in :issue:`40222`.)

* A more concise representation of exceptions in the interpreter reduced the
time required for catching an exception by about 10%.
(Contributed by Irit Katriel in :issue:`45711`.)
Expand Down