Message381664
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. |
|
Date |
User |
Action |
Args |
2020-11-23 09:48:42 | vstinner | set | recipients:
+ vstinner, bquinlan, janssen, pitrou, christian.heimes, alex, asvetlov, serhiy.storchaka, yselivanov, dstufft, davin, corona10, miss-islington |
2020-11-23 09:48:41 | vstinner | set | messageid: <1606124921.95.0.392658937179.issue42413@roundup.psfhosted.org> |
2020-11-23 09:48:41 | vstinner | link | issue42413 messages |
2020-11-23 09:48:41 | vstinner | create | |
|