From: Mark Shannon Date: Wed, 12 May 2021 10:31:48 +0000 (+0100) Subject: bpo-40222: Mention zero-cost exceptions in whats-new for 3.11 (GH-26021) X-Git-Tag: v3.11.0a1~1150 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78b2abca8e96b43f56ab1b9ad673aaa6bbe7e790;p=thirdparty%2FPython%2Fcpython.git bpo-40222: Mention zero-cost exceptions in whats-new for 3.11 (GH-26021) --- diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 464a97ef6e01..dfb85e374439 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -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 =======================