Author eric.smith
Recipients YoSTEALTH, eric.smith
Date 2020-02-18.09:56:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582019770.21.0.88811230513.issue39673@roundup.psfhosted.org>
In-reply-to
Content
I don't see why it would. You're raising OSError, which is not a subclass of TimeoutError, so the TimeoutError code is not executing. You don't say, but I assume this is what you think should happen.

The exception handling machinery does not look inside a raised exception to try to assign meaning to the values, so it doesn't know what errno=62 means. Nor should it: it's only based on the class of the exception, not its attributes.
History
Date User Action Args
2020-02-18 09:56:10eric.smithsetrecipients: + eric.smith, YoSTEALTH
2020-02-18 09:56:10eric.smithsetmessageid: <1582019770.21.0.88811230513.issue39673@roundup.psfhosted.org>
2020-02-18 09:56:10eric.smithlinkissue39673 messages
2020-02-18 09:56:10eric.smithcreate