]> granicus.if.org Git - python/commit
bpo-30301: Fix AttributeError when using SimpleQueue.empty() (#1601) (#1628)
authorXiang Zhang <angwerzx@126.com>
Wed, 17 May 2017 14:03:35 +0000 (22:03 +0800)
committerGitHub <noreply@github.com>
Wed, 17 May 2017 14:03:35 +0000 (22:03 +0800)
commit43d4c0329e2348540a3a16ac61b3032f04eefd34
treee627eacc7a4d2678e9a248d6c506009b9cabc010
parentb769c91c2db304db44cd514344369cde1f8d9dc5
bpo-30301: Fix AttributeError when using SimpleQueue.empty() (#1601) (#1628)

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