Andrew Svetlov added the comment:
loop.shutdown_default_executor() exists for it, asyncio.run() calls the method
--
nosy: +asvetlov
resolution: -> out of date
stage: -> resolved
status: open -> closed
___
Python tracker
New submission from Chris Meyer:
BaseEventLoop.close shuts down the executor associated with the event loop.
It should do that BEFORE it sets self._closed = True, otherwise any pending
executor futures will attempt to 'call_soon' on the event loop when they
finish, resulting in a confusing