Andrew Svetlov <andrew.svet...@gmail.com> added the comment:

Superseded by `asyncio.run()` function.

P.S.
Context manager is not a solution because `loop.shutdown_asyncgens()` should be 
called before `loop.close()` and the method is a coroutine.

----------
nosy: +asvetlov
resolution:  -> wont fix
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue24795>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to