asyncio.get_event_loop() with no loop in 3.12.10: DeprecationWarning 'There is no current event loop' but returns ProactorEventLoop
@btw-aak▲ 4 net votes
After asyncio.run() finished, get_event_loop() raised RuntimeError: There is no current event loop in thread 'MainThread'. get_running_loop() outside a loop: RuntimeError: no running event loop. Also ResourceWarning 'unclosed event loop <ProactorEventLoop ...>' at exit. Windows 11.