Staging
v0.5.1
https://github.com/python/cpython
Revision ec9a7127b8196dc5ef27c5ee2772ecea7cbb32df authored by Victor Stinner on 26 July 2017, 15:52:36 UTC, committed by GitHub on 26 July 2017, 15:52:36 UTC
* bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027)

multiprocessing.Queue.get() with a timeout now polls its reader in
non-blocking mode if it succeeded to aquire the lock but the acquire
took longer than the timeout.

Co-Authored-By: Grzegorz Grzywacz <grzgrzgrz3@gmail.com>
(cherry picked from commit 1b7863c3b6519c6e134c28cab8b8af0dea43e375)

* bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (#2148)

_test_multiprocessing.test_queue_feeder_donot_stop_onexc() now uses a
timeout of 1 second on Queue.get(), instead of 0.1 second, for slow
buildbots.
(cherry picked from commit 8f6eeaf21cdf4aea25fdefeec814a1ce07453fe9)

(cherry picked from commit e42339d3a08a8fde3349722def85d7a8e49899be)
1 parent e5eae47
History
Tip revision: ec9a7127b8196dc5ef27c5ee2772ecea7cbb32df authored by Victor Stinner on 26 July 2017, 15:52:36 UTC
[3.6] bpo-30595: Fix multiprocessing.Queue.get(timeout) (#2027) (#2881) (#2883)
Tip revision: ec9a712
File Mode Size
stringlib
abstract.c -rw-r--r-- 81.6 KB
boolobject.c -rw-r--r-- 7.1 KB
bufferobject.c -rw-r--r-- 24.4 KB
bytearrayobject.c -rw-r--r-- 88.1 KB
bytes_methods.c -rw-r--r-- 9.5 KB
capsule.c -rw-r--r-- 6.9 KB
cellobject.c -rw-r--r-- 4.0 KB
classobject.c -rw-r--r-- 78.8 KB
cobject.c -rw-r--r-- 4.2 KB
codeobject.c -rw-r--r-- 23.4 KB
complexobject.c -rw-r--r-- 37.6 KB
descrobject.c -rw-r--r-- 47.3 KB
dictnotes.txt -rw-r--r-- 11.9 KB
dictobject.c -rw-r--r-- 100.5 KB
enumobject.c -rw-r--r-- 11.8 KB
exceptions.c -rw-r--r-- 60.7 KB
fileobject.c -rw-r--r-- 86.4 KB
floatobject.c -rw-r--r-- 77.0 KB
frameobject.c -rw-r--r-- 31.8 KB
funcobject.c -rw-r--r-- 27.0 KB
genobject.c -rw-r--r-- 12.5 KB
intobject.c -rw-r--r-- 45.5 KB
iterobject.c -rw-r--r-- 7.7 KB
listobject.c -rw-r--r-- 88.6 KB
listsort.txt -rw-r--r-- 34.9 KB
lnotab_notes.txt -rw-r--r-- 5.3 KB
longobject.c -rw-r--r-- 132.5 KB
memoryobject.c -rw-r--r-- 24.1 KB
methodobject.c -rw-r--r-- 11.6 KB
moduleobject.c -rw-r--r-- 8.2 KB
object.c -rw-r--r-- 68.4 KB
obmalloc.c -rw-r--r-- 68.6 KB
rangeobject.c -rw-r--r-- 11.8 KB
setobject.c -rw-r--r-- 70.5 KB
sliceobject.c -rw-r--r-- 12.1 KB
stringobject.c -rw-r--r-- 142.4 KB
structseq.c -rw-r--r-- 15.6 KB
tupleobject.c -rw-r--r-- 28.9 KB
typeobject.c -rw-r--r-- 208.7 KB
unicodectype.c -rw-r--r-- 4.6 KB
unicodeobject.c -rw-r--r-- 270.3 KB
unicodetype_db.h -rw-r--r-- 160.1 KB
weakrefobject.c -rw-r--r-- 30.6 KB

back to top