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 jmoy
Recipients jmoy
Date 2017-02-05.07:37:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486280268.11.0.922529049977.issue29449@psf.upfronthosting.co.za>
In-reply-to
Content
The clear() method for Event objects currently does not return anything.

It would be useful to have it return the state of the Event prior to it being cleared.

This would be useful since multiple threads may wake up from an event at the same time and all may try to clear() the event. A return value from clear will indicate to a thread if it won the race to clear the event.
History
Date User Action Args
2017-02-05 07:37:48jmoysetrecipients: + jmoy
2017-02-05 07:37:48jmoysetmessageid: <1486280268.11.0.922529049977.issue29449@psf.upfronthosting.co.za>
2017-02-05 07:37:48jmoylinkissue29449 messages
2017-02-05 07:37:47jmoycreate