]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35409: Ignore GeneratorExit in async_gen_athrow_throw (GH-14755)
authorVincent Michel <vxgmichel@gmail.com>
Tue, 19 Nov 2019 13:53:52 +0000 (05:53 -0800)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 19 Nov 2019 13:53:52 +0000 (05:53 -0800)
commit8e0de2a4808d7c2f4adedabff89ee64e0338790a
tree745ce6bba5ebdb82a1ab7d739b218674fe29b35b
parentf25875af425a3480e557aaedf49c3bb867bcbd5d
bpo-35409: Ignore GeneratorExit in async_gen_athrow_throw (GH-14755)

Ignore `GeneratorExit` exceptions when throwing an exception into the `aclose` coroutine of an asynchronous generator.

https://bugs.python.org/issue35409
Lib/test/test_asyncgen.py
Misc/NEWS.d/next/Core and Builtins/2019-07-13-18-01-13.bpo-35409.ozbcsR.rst [new file with mode: 0644]
Objects/genobject.c