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 eryksun
Recipients eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-06-10.19:36:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591817810.14.0.117848052342.issue40913@roundup.psfhosted.org>
In-reply-to
Content
> is there any straightforward way to cause WaitForSingleObjectEx to fail?

The wait can fail for ERROR_INVALID_HANDLE or ERROR_ACCESS_DENIED (i.e. the handle lacks SYNCHRONIZE access). If _PyOS_SigintEvent were replaced with get/set functions, then a non-waitable handle could be set temporarily via ctypes.
History
Date User Action Args
2020-06-10 19:36:50eryksunsetrecipients: + eryksun, paul.moore, tim.golden, zach.ware, steve.dower
2020-06-10 19:36:50eryksunsetmessageid: <1591817810.14.0.117848052342.issue40913@roundup.psfhosted.org>
2020-06-10 19:36:50eryksunlinkissue40913 messages
2020-06-10 19:36:49eryksuncreate