diff options
author | Thomas Grainger <tagrain@gmail.com> | 2024-05-06 17:13:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-06 17:13:15 (GMT) |
commit | e5c699280deac076cddfef37c8af917a550f6ac3 (patch) | |
tree | 8271c4b7ecaeacaf0d98f628e3ee9e0a39340375 /Misc | |
parent | 1ff626ebda465931ff3e4922e8e87d586eb6244c (diff) | |
download | cpython-e5c699280deac076cddfef37c8af917a550f6ac3.zip cpython-e5c699280deac076cddfef37c8af917a550f6ac3.tar.gz cpython-e5c699280deac076cddfef37c8af917a550f6ac3.tar.bz2 |
GH-117714: implement athrow().close() and asend().close() using throw (GH-117906)
* GH-117714: replace athrow().close() and asend().close() stubs with implimentations
* test athrow().close() and asend().close() raises RuntimeError
* 📜🤖 Added by blurb_it.
* Update Objects/genobject.c
Co-authored-by: Petr Viktorin <encukou@gmail.com>
---------
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2024-05-01-07-06-48.gh-issue-117714.Ip_dm5.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2024-05-01-07-06-48.gh-issue-117714.Ip_dm5.rst b/Misc/NEWS.d/next/Core and Builtins/2024-05-01-07-06-48.gh-issue-117714.Ip_dm5.rst new file mode 100644 index 0000000..d8ec242 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2024-05-01-07-06-48.gh-issue-117714.Ip_dm5.rst @@ -0,0 +1 @@ +update ``async_generator.athrow().close()`` and ``async_generator.asend().close()`` to close their section of the underlying async generator |