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 Kevin Shweh, SnoopJeDi, bjs, eryksun, pitrou, serhiy.storchaka, tim.peters, vstinner
Date 2022-02-12.23:21:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644708071.17.0.771256708667.issue46726@roundup.psfhosted.org>
In-reply-to
Content
> If the acquire() in fact times out, but the store to the `acquired` 
> variable is interrupted, `if _WINDOWS and acquired is None` will
> succeed, despite that the lock is still locked

Yeah, my proposed workaround is no good, so we can't resolve this without a more fundamental solution. Are you looking into a way to prevent the STORE_FAST instruction from getting interrupted by an asynchronous exception?
History
Date User Action Args
2022-02-12 23:21:11eryksunsetrecipients: + eryksun, tim.peters, pitrou, vstinner, serhiy.storchaka, Kevin Shweh, bjs, SnoopJeDi
2022-02-12 23:21:11eryksunsetmessageid: <1644708071.17.0.771256708667.issue46726@roundup.psfhosted.org>
2022-02-12 23:21:11eryksunlinkissue46726 messages
2022-02-12 23:21:11eryksuncreate