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 steve.dower
Recipients eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-06-12.21:08:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591996115.77.0.879163183794.issue40913@roundup.psfhosted.org>
In-reply-to
Content
> If WaitForSingleObjectEx fails, do you think the system error code should be raised as an OSError?

It's invalid (and unfixable) internal state, so perhaps SystemError makes the most sense? There's no point catching it in most cases.

Or since we don't want to worry too much about formatting the message, why not raise the OSError with the helper function and then immediately chain it with a fixed SystemError?
History
Date User Action Args
2020-06-12 21:08:35steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, zach.ware, eryksun
2020-06-12 21:08:35steve.dowersetmessageid: <1591996115.77.0.879163183794.issue40913@roundup.psfhosted.org>
2020-06-12 21:08:35steve.dowerlinkissue40913 messages
2020-06-12 21:08:34steve.dowercreate