tomaszdrozdz <tomasz.drozd...@protonmail.com> added the comment:
https://docs.python.org/3/library/asyncio-eventloop.html#error-handling-api Here we can read: Application developers should typically use the high-level asyncio functions, such as asyncio.run(), and should rarely need to reference the loop object or call its methods. This section is intended mostly for authors of lower-level code, libraries, and frameworks, who need finer control over the event loop behavior. So as I understand this - I should not use asyncio.get_running_loop loop.set_exception_handler(...) Or maybe event loop should not be in "Low level api" ??? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41202> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com