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 serhiy.storchaka
Recipients alex, asvetlov, bquinlan, christian.heimes, corona10, davin, dstufft, janssen, miss-islington, pitrou, serhiy.storchaka, vstinner, yselivanov
Date 2020-11-21.12:43:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605962623.11.0.848448624416.issue42413@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-11-21 12:43:43serhiy.storchakasetrecipients: + serhiy.storchaka, bquinlan, janssen, pitrou, vstinner, christian.heimes, alex, asvetlov, yselivanov, dstufft, davin, corona10, miss-islington
2020-11-21 12:43:43serhiy.storchakasetmessageid: <1605962623.11.0.848448624416.issue42413@roundup.psfhosted.org>
2020-11-21 12:43:43serhiy.storchakalinkissue42413 messages
2020-11-21 12:43:43serhiy.storchakacreate