Python 3.8 CancelledError
Closed this issue · 1 comments
rbotman commented
Python 3.8 included a change to the base class for CancelledError.
See: https://bugs.python.org/issue32528
Just removing '.futures' from line 5 avoids an error in 3.8
from asyncio.futures import CancelledError
Here's the error:
ImportError: cannot import name 'CancelledError' from 'asyncio.futures'