]> granicus.if.org Git - python/commit
bpo-32576: use queue.SimpleQueue in critical places (#5216)
authorAntoine Pitrou <pitrou@free.fr>
Thu, 18 Jan 2018 09:38:03 +0000 (10:38 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Jan 2018 09:38:03 +0000 (10:38 +0100)
commitab74504346a6e2569b3255b7b621c589716888c4
tree200699b669a4cc8e6896a329db05a5040a19ca5a
parent6027802ca7fae118bce6afead51d01a174600d40
bpo-32576: use queue.SimpleQueue in critical places (#5216)

Where a queue may be invoked from a weakref callback, we need
to use the reentrant SimpleQueue.
Lib/concurrent/futures/thread.py
Lib/multiprocessing/pool.py
Misc/NEWS.d/next/Library/2018-01-17-13-04-16.bpo-32576.iDL09t.rst [new file with mode: 0644]