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 tim.peters
Recipients Kevin Shweh, SnoopJeDi, bjs, eryksun, pitrou, serhiy.storchaka, tim.peters, vstinner
Date 2022-02-13.03:46:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644723969.41.0.796863567588.issue46726@roundup.psfhosted.org>
In-reply-to
Content
> Maybe add an `acquire_and_release()` method

Bingo - that should do the trick, in an "obviously correct" way. Of course it's of limited applicability, but fine by me.

Will you open a PR with this code?
History
Date User Action Args
2022-02-13 03:46:09tim.peterssetrecipients: + tim.peters, pitrou, vstinner, serhiy.storchaka, eryksun, Kevin Shweh, bjs, SnoopJeDi
2022-02-13 03:46:09tim.peterssetmessageid: <1644723969.41.0.796863567588.issue46726@roundup.psfhosted.org>
2022-02-13 03:46:09tim.peterslinkissue46726 messages
2022-02-13 03:46:09tim.peterscreate