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 tomMoral
Recipients tomMoral
Date 2017-11-09.13:48:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510235293.99.0.213398074469.issue31991@psf.upfronthosting.co.za>
In-reply-to
Content
If the methods `set` and `clear` of `multiprocessing.Event` are called one after another, while a `multiprocessing.Process` calls `wait`, the  `Event` does not match the documented behavior (https://docs.python.org/3.7/library/threading.html#threading.Event.wait) and the call to wait can return `False` even though the call to wait did not timeout (This happens both with `timeout=30` or `timeout=None`).

Attached is a script reproducing this issue.
The documentation should either be changed or the behavior should be updated.
History
Date User Action Args
2017-11-09 13:48:14tomMoralsetrecipients: + tomMoral
2017-11-09 13:48:13tomMoralsetmessageid: <1510235293.99.0.213398074469.issue31991@psf.upfronthosting.co.za>
2017-11-09 13:48:13tomMorallinkissue31991 messages
2017-11-09 13:48:13tomMoralcreate