]> granicus.if.org Git - python/commit
bpo-30301: Fix AttributeError when using SimpleQueue.empty() (#1601)
authorXiang Zhang <angwerzx@126.com>
Wed, 17 May 2017 13:04:00 +0000 (21:04 +0800)
committerGitHub <noreply@github.com>
Wed, 17 May 2017 13:04:00 +0000 (21:04 +0800)
commit6f75bc003ab4d5294b0291289ae03f7a8d305f46
tree83a5f81826719a7df0dc6dc5844eb7813a1b526e
parent0774e79b93cc494b3a957d538c7c112e289973c0
bpo-30301: Fix AttributeError when using SimpleQueue.empty() (#1601)

Under  *spawn* and *forkserver* start methods, SimpleQueue.empty() could
raise AttributeError due to not setting _poll in __setstate__.
Lib/multiprocessing/queues.py
Lib/test/_test_multiprocessing.py
Misc/NEWS