STINNER Victor <vstin...@python.org> added the comment:
I see this issue as a follow-up of PEP 3151 which started to uniformize IOError, OSError and many variants that we had in Python 2. socket.timeout was introduced as a subclass of TimeoutError according to: https://www.python.org/dev/peps/pep-3151/#new-exception-classes In Python 3.9, socket.timeout and TimeoutError are subclasses of OSError but are different. I agree that it was confusion. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42413> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com