]> granicus.if.org Git - python/commit
bpo-30301: Fix AttributeError when using SimpleQueue.empty() (#1601) (#1627)
authorXiang Zhang <angwerzx@126.com>
Wed, 17 May 2017 14:02:55 +0000 (22:02 +0800)
committerGitHub <noreply@github.com>
Wed, 17 May 2017 14:02:55 +0000 (22:02 +0800)
commit9081b36f330964faa4dee3af03228d2ca7c71835
tree0c30230dc346a90c6ae215bfeaf1f12234a9e701
parentf01c0ec9fe571e8afd50d2f5180db3c0d7b613af
bpo-30301: Fix AttributeError when using SimpleQueue.empty() (#1601) (#1627)

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