- uvloop version: 0.14.0
- Python version: 3.9.0b1
- Platform: Linux
- Can you reproduce the bug with
PYTHONASYNCIODEBUG in env?: yes
- Does uvloop behave differently from vanilla asyncio? How?: yes – vanilla asyncio implements this method
Python 3.9 added a new mandatory method to the AbstractEventLoop interface, named shutdown_default_executor(). This method is crucial for asyncio.run() to work. If it's absent, asyncio.run() will fail with a NotImplementedError when performing the shutdown cleanup.
Related CPython issue: https://bugs.python.org/issue34037
PYTHONASYNCIODEBUGin env?: yesPython 3.9 added a new mandatory method to the
AbstractEventLoopinterface, named shutdown_default_executor(). This method is crucial forasyncio.run()to work. If it's absent,asyncio.run()will fail with aNotImplementedErrorwhen performing the shutdown cleanup.Related CPython issue: https://bugs.python.org/issue34037