Message381556
Yes, I think this is a problem. It is expected that an instance of OSError has valid errno. OSError is a merge of several old exception types, some of them did have errno, and others did not.
Maybe add BaseTimeoutError and make TimeoutError a subclass of BaseTimeoutError and OSError?
There as also several CancelledError, and exceptions with similar names and purpose, like asyncio.IncompleteReadError and http.client.IncompleteRead. |
|
Date |
User |
Action |
Args |
2020-11-21 12:43:43 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, bquinlan, janssen, pitrou, vstinner, christian.heimes, alex, asvetlov, yselivanov, dstufft, davin, corona10, miss-islington |
2020-11-21 12:43:43 | serhiy.storchaka | set | messageid: <1605962623.11.0.848448624416.issue42413@roundup.psfhosted.org> |
2020-11-21 12:43:43 | serhiy.storchaka | link | issue42413 messages |
2020-11-21 12:43:43 | serhiy.storchaka | create | |
|