Yury Selivanov <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue34074>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to