[issue34074] Asyncio breaks coroutine finalization process
Yury Selivanov
report at bugs.python.org
Mon Jul 9 11:22:59 EDT 2018
Yury Selivanov <yselivanov at gmail.com> added the comment:
There's no bug here. `loop.stop()` simply stops the loop, all running tasks are just paused. You can re-run the same loop, and the `work()` task will resume.
In other words, `loop.stop()` does not trigger task cancellation, therefore it does not throw in any exceptions into the `work()` task.
----------
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34074>
_______________________________________
More information about the Python-bugs-list
mailing list