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/exceptions.html#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/exceptions.html#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](https://docs.python.org/3/library/exceptions.html#TimeoutError).