Message373226
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" ??? |
|
Date |
User |
Action |
Args |
2020-07-07 14:22:43 | tomaszdrozdz | set | recipients:
+ tomaszdrozdz, asvetlov, yselivanov |
2020-07-07 14:22:43 | tomaszdrozdz | set | messageid: <1594131763.4.0.807620577192.issue41202@roundup.psfhosted.org> |
2020-07-07 14:22:43 | tomaszdrozdz | link | issue41202 messages |
2020-07-07 14:22:43 | tomaszdrozdz | create | |
|