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 grzgrzgrz3
Recipients davin, grzgrzgrz3, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2017-06-09.12:53:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Looks like build bot is too slow for timeout=0.1. 

I am guessing `0.1` is too low because we have wrong condition in Queue.get.

It should be.

diff --git a/Lib/multiprocessing/ b/Lib/multiprocessing/
index dda03dd..42e9884 100644
--- a/Lib/multiprocessing/
+++ b/Lib/multiprocessing/
@@ -101,7 +101,7 @@ class Queue(object):
                 if block:
                     timeout = deadline - time.time()
-                    if timeout < 0 or not self._poll(timeout):
+                    if self._poll(timeout):
                         raise Empty
                 elif not self._poll():
                     raise Empty

If we successfully acquired self._rlock, we should poll no matter how long acquire took.
Date User Action Args
2017-06-09 12:53:11grzgrzgrz3setrecipients: + grzgrzgrz3, paul.moore, vstinner, tim.golden, zach.ware, steve.dower, davin
2017-06-09 12:53:11grzgrzgrz3setmessageid: <>
2017-06-09 12:53:11grzgrzgrz3linkissue30595 messages
2017-06-09 12:53:11grzgrzgrz3create