This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients alex, asvetlov, bquinlan, christian.heimes, corona10, davin, dstufft, janssen, miss-islington, pitrou, serhiy.storchaka, vstinner, yselivanov
Date 2020-11-23.09:48:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606124921.95.0.392658937179.issue42413@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-11-23 09:48:42vstinnersetrecipients: + vstinner, bquinlan, janssen, pitrou, christian.heimes, alex, asvetlov, serhiy.storchaka, yselivanov, dstufft, davin, corona10, miss-islington
2020-11-23 09:48:41vstinnersetmessageid: <1606124921.95.0.392658937179.issue42413@roundup.psfhosted.org>
2020-11-23 09:48:41vstinnerlinkissue42413 messages
2020-11-23 09:48:41vstinnercreate