➜

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 eric.smith
Recipients YoSTEALTH, eric.smith
Date 2020-02-18.09:56:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
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: <[email protected]>
2020-02-18 09:56:10eric.smithlinkissue39673 messages
2020-02-18 09:56:10eric.smithcreate