[issue34730] aclose() doesn't stop raise StopAsyncIteration / GeneratorExit to __anext__()

Yury Selivanov report at bugs.python.org
Thu Sep 20 16:36:06 EDT 2018


Yury Selivanov <yselivanov at gmail.com> added the comment:

> So I think we just need to fix ag_running and then recommend people find other ways to interrupt running async generators.

Agree. Speaking of fixing ag_running, could you please review my PR: https://github.com/python/cpython/pull/7468 I can then commit it and maybe get this fixed in 3.7.1.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34730>
_______________________________________


More information about the Python-bugs-list mailing list