[issue41202] Allow to provide custom exception handler to asyncio.run()

Andrew Svetlov report at bugs.python.org
Tue Jul 7 12:03:32 EDT 2020


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

I agree with Yuri.

Usually, you don't need overriding of the default exception handler.
Indeed, if you really need this low-level API I see nothing wrong with `asyncio.get_running_loop()` call.

----------

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


More information about the Python-bugs-list mailing list