Message295527
of course it should be `if not`:
diff --git a/Lib/multiprocessing/queues.py b/Lib/multiprocessing/queues.py
index dda03dd..514f991 100644
--- a/Lib/multiprocessing/queues.py
+++ b/Lib/multiprocessing/queues.py
@@ -101,7 +101,7 @@ class Queue(object):
try:
if block:
timeout = deadline - time.time()
- if timeout < 0 or not self._poll(timeout):
+ if not self._poll(timeout):
raise Empty
elif not self._poll():
raise Empty |
|
Date |
User |
Action |
Args |
2017-06-09 13:04:46 | grzgrzgrz3 | set | recipients:
+ grzgrzgrz3, paul.moore, vstinner, tim.golden, zach.ware, steve.dower, davin |
2017-06-09 13:04:46 | grzgrzgrz3 | set | messageid: <1497013486.73.0.0370943040833.issue30595@psf.upfronthosting.co.za> |
2017-06-09 13:04:46 | grzgrzgrz3 | link | issue30595 messages |
2017-06-09 13:04:46 | grzgrzgrz3 | create | |
|