[issue34074] Asyncio breaks coroutine finalization process
Yury Selivanov
report at bugs.python.org
Mon Jul 9 12:07:50 EDT 2018
Yury Selivanov <yselivanov at gmail.com> added the comment:
> To make example more practical, let's change `loop.stop()` to `raise KeyboardInterrupt()`. Program stops without calling `close()`
Try to use the new `asyncio.run()` function (in Py 3.7)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34074>
_______________________________________
More information about the Python-bugs-list
mailing list