]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-40222: Mention zero-cost exceptions in whats-new for 3.11 (GH-26021)
authorMark Shannon <mark@hotpy.org>
Wed, 12 May 2021 10:31:48 +0000 (11:31 +0100)
committerGitHub <noreply@github.com>
Wed, 12 May 2021 10:31:48 +0000 (11:31 +0100)
Doc/whatsnew/3.11.rst

index 464a97ef6e01ebffd95fa71a165526eb3bffdf4a..dfb85e374439f3bfdfbb394846ef9daa36b6bce2 100644 (file)
@@ -95,6 +95,9 @@ Optimizations
   fast as corresponding f-string expression.
   (Contributed by Serhiy Storchaka in :issue:`28307`.)
 
+* "Zero-cost" exceptions are implemented. The cost of ``try`` statements is
+  almost eliminated when no exception is raised.
+  (Contributed by Mark Shannon in :issue:`40222`.)
 
 Build and C API Changes
 =======================