summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2022-08-19 19:33:44 (GMT)
committerGitHub <noreply@github.com>2022-08-19 19:33:44 (GMT)
commit5bfb3c372bda1113aea1385d4793f073a1d37155 (patch)
treea6b30a05ec2e5f59eadff759e47529ee76a6c132 /Misc
parent2d9f252c0c08bce0e776b38906c3bbb59a3bd2c5 (diff)
downloadcpython-5bfb3c372bda1113aea1385d4793f073a1d37155.zip
cpython-5bfb3c372bda1113aea1385d4793f073a1d37155.tar.gz
cpython-5bfb3c372bda1113aea1385d4793f073a1d37155.tar.bz2
GH-90997: Wrap yield from/await in a virtual try/except StopIteration (GH-96010)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-08-15-11-58-05.gh-issue-90997.bWwV8Q.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-08-15-11-58-05.gh-issue-90997.bWwV8Q.rst b/Misc/NEWS.d/next/Core and Builtins/2022-08-15-11-58-05.gh-issue-90997.bWwV8Q.rst
new file mode 100644
index 0000000..8db714e
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-08-15-11-58-05.gh-issue-90997.bWwV8Q.rst
@@ -0,0 +1,3 @@
+Compile virtual :keyword:`try`/:keyword:`except` blocks to handle exceptions
+raised during :meth:`~generator.close` or :meth:`~generator.throw` calls
+through a suspended frame.