]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-117714: implement athrow().close() and asend().close() using throw (GH-117906)
authorThomas Grainger <tagrain@gmail.com>
Mon, 6 May 2024 17:13:15 +0000 (18:13 +0100)
committerGitHub <noreply@github.com>
Mon, 6 May 2024 17:13:15 +0000 (17:13 +0000)
commite5c699280deac076cddfef37c8af917a550f6ac3
tree8271c4b7ecaeacaf0d98f628e3ee9e0a39340375
parent1ff626ebda465931ff3e4922e8e87d586eb6244c
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>
Lib/test/test_asyncgen.py
Misc/NEWS.d/next/Core and Builtins/2024-05-01-07-06-48.gh-issue-117714.Ip_dm5.rst [new file with mode: 0644]
Objects/genobject.c