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 Kevin Shweh
Recipients Kevin Shweh, SnoopJeDi, bjs, vstinner
Date 2022-02-12.00:20:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644625203.88.0.931500257147.issue46726@roundup.psfhosted.org>
In-reply-to
Content
The PR you submitted doesn't work, unfortunately. It essentially reintroduces issue 45274. If this line:

    if locked := lock.acquire(block, timeout):

gets interrupted between the acquire and the assignment, locked is still False. That's rare, but so is an interruption between the acquire and the release, which is the original form of issue 45274.
History
Date User Action Args
2022-02-12 00:20:03Kevin Shwehsetrecipients: + Kevin Shweh, vstinner, bjs, SnoopJeDi
2022-02-12 00:20:03Kevin Shwehsetmessageid: <1644625203.88.0.931500257147.issue46726@roundup.psfhosted.org>
2022-02-12 00:20:03Kevin Shwehlinkissue46726 messages
2022-02-12 00:20:03Kevin Shwehcreate