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 vstinner
Recipients aeros, pitrou, tomMoral, vstinner
Date 2020-04-28.17:00:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
> With my msg367463 patch (add sleep), test_cancel_futures() fails.

The test uses sleep() as a synchronization primitive:

   executor.submit(time.sleep, .1).

That's bad, but it doesn't *have to* be fixed now. My msg367463 patch adds an artifical sleep: the test looks fine in practice. I prefer to wait until it fails on a buildbot worker before spending time to make the test more reliable.
History
Date User Action Args
2020-04-28 17:00:11vstinnersetrecipients: + vstinner, pitrou, tomMoral, aeros
2020-04-28 17:00:11vstinnersetmessageid: <[email protected]>
2020-04-28 17:00:11vstinnerlinkissue39995 messages
2020-04-28 17:00:11vstinnercreate