aiorpc
aiorpc copied to clipboard
Python 3.10: asyncio's loop got removed
In Python 3.10, for many of asyncio's higher-level functions, the loop
parameter got removed.
Consequently, aiorcp
yields TypeError: create_connection() got an unexpected keyword argument 'loop'
.
One responsible line seems to be in client.py
: await asyncio.open_connection(self._host, self._port, loop=self._loop)