diff options
author | Mark Shannon <mark@hotpy.org> | 2023-04-13 15:19:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-13 15:19:07 (GMT) |
commit | efb8a2553c88a295514be228c44fb99ef035e3fa (patch) | |
tree | d8318deba8f8d98ce99751dcfabec6f44b5d053e /Misc/NEWS.d | |
parent | 4307feaddc76b9e93cd38e325a1f0ee59d593093 (diff) | |
download | cpython-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.rst | 3 |
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. |