summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2023-04-13 15:19:07 (GMT)
committerGitHub <noreply@github.com>2023-04-13 15:19:07 (GMT)
commitefb8a2553c88a295514be228c44fb99ef035e3fa (patch)
treed8318deba8f8d98ce99751dcfabec6f44b5d053e /Misc/NEWS.d
parent4307feaddc76b9e93cd38e325a1f0ee59d593093 (diff)
downloadcpython-efb8a2553c88a295514be228c44fb99ef035e3fa.zip
cpython-efb8a2553c88a295514be228c44fb99ef035e3fa.tar.gz
cpython-efb8a2553c88a295514be228c44fb99ef035e3fa.tar.bz2
GH-103488: Use return-offset, not yield-offset. (GH-103502)
* Use return-offset, not yield-offset, so that instruction pointer is correct when sending to a generator or coroutine.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2023-04-12-20-18-51.gh-issue-103488.vYvlHD.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-04-12-20-18-51.gh-issue-103488.vYvlHD.rst b/Misc/NEWS.d/next/Core and Builtins/2023-04-12-20-18-51.gh-issue-103488.vYvlHD.rst
new file mode 100644
index 0000000..e7daa10
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2023-04-12-20-18-51.gh-issue-103488.vYvlHD.rst
@@ -0,0 +1,3 @@
+Change the internal offset distinguishing yield and return target addresses,
+so that the instruction pointer is correct for exception handling and other
+stack unwinding.