Skip to content

Commit 78b2abc

Browse files
authored
bpo-40222: Mention zero-cost exceptions in whats-new for 3.11 (GH-26021)
1 parent cb6f3d7 commit 78b2abc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/whatsnew/3.11.rst

+3
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ Optimizations
9595
fast as corresponding f-string expression.
9696
(Contributed by Serhiy Storchaka in :issue:`28307`.)
9797

98+
* "Zero-cost" exceptions are implemented. The cost of ``try`` statements is
99+
almost eliminated when no exception is raised.
100+
(Contributed by Mark Shannon in :issue:`40222`.)
98101

99102
Build and C API Changes
100103
=======================

0 commit comments

Comments
 (0)