diff options
author | Mark Shannon <mark@hotpy.org> | 2021-05-12 10:31:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-12 10:31:48 (GMT) |
commit | 78b2abca8e96b43f56ab1b9ad673aaa6bbe7e790 (patch) | |
tree | 27bda0598fb7f7f1f42ee287cc28da7946d64690 | |
parent | cb6f3d7163c611a7772da8969475e47fbdd147af (diff) | |
download | cpython-78b2abca8e96b43f56ab1b9ad673aaa6bbe7e790.zip cpython-78b2abca8e96b43f56ab1b9ad673aaa6bbe7e790.tar.gz cpython-78b2abca8e96b43f56ab1b9ad673aaa6bbe7e790.tar.bz2 |
bpo-40222: Mention zero-cost exceptions in whats-new for 3.11 (GH-26021)
-rw-r--r-- | Doc/whatsnew/3.11.rst | 3 |
1 files changed, 3 insertions, 0 deletions
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 ======================= |