From 78b2abca8e96b43f56ab1b9ad673aaa6bbe7e790 Mon Sep 17 00:00:00 2001 From: Mark Shannon Date: Wed, 12 May 2021 11:31:48 +0100 Subject: bpo-40222: Mention zero-cost exceptions in whats-new for 3.11 (GH-26021) --- Doc/whatsnew/3.11.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 464a97e..dfb85e3 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 ======================= -- cgit v0.12