Skip to content

replace socket.timeout on py3.10+ and asyncio.TimeoutError/concurrent.futures.TimeoutError on py3.11+ with TimeoutError #819

@graingert

Description

@graingert

There are now a number of deprecated aliases for TimeoutError:

https://docs.python.org/3/library/socket.html#socket.timeout

Changed in version 3.10: This class was made an alias of TimeoutError.

https://docs.python.org/3/library/asyncio-exceptions.html#asyncio.TimeoutError

Changed in version 3.11: This class was made an alias of TimeoutError.

https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.TimeoutError

Changed in version 3.11: This class was made an alias of TimeoutError.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions