Skip to content

Latest asyicio doesn't have a loop= param in start_server function #2

@shaneapowell

Description

@shaneapowell

I'm just now trying out your library. So far so good.
But.. I had to make a single "change" to the ipyc/asynchronous.py file. Line 166 and 281

From:

self._server = await asyncio.start_server(self.__handle_connection, host=self._ip_address, port=self._port, loop=self.loop, *args)

To:

self._server = await asyncio.start_server(self.__handle_connection, host=self._ip_address, port=self._port, *args)^M

I'm using asyncio version 3.4.3. It appears they have removed support for the loop= parameter in the start_server function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions