aiorpc icon indicating copy to clipboard operation
aiorpc copied to clipboard

Python 3.10: asyncio's loop got removed

Open ScientiaEtVeritas opened this issue 3 years ago • 0 comments

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)

ScientiaEtVeritas avatar Mar 03 '22 03:03 ScientiaEtVeritas