diff options
author | Antoine Pitrou <pitrou@free.fr> | 2018-01-18 09:38:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-18 09:38:03 (GMT) |
commit | ab74504346a6e2569b3255b7b621c589716888c4 (patch) | |
tree | 200699b669a4cc8e6896a329db05a5040a19ca5a /Misc | |
parent | 6027802ca7fae118bce6afead51d01a174600d40 (diff) | |
download | cpython-ab74504346a6e2569b3255b7b621c589716888c4.zip cpython-ab74504346a6e2569b3255b7b621c589716888c4.tar.gz cpython-ab74504346a6e2569b3255b7b621c589716888c4.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-01-17-13-04-16.bpo-32576.iDL09t.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-01-17-13-04-16.bpo-32576.iDL09t.rst b/Misc/NEWS.d/next/Library/2018-01-17-13-04-16.bpo-32576.iDL09t.rst new file mode 100644 index 0000000..143a83e --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-01-17-13-04-16.bpo-32576.iDL09t.rst @@ -0,0 +1,2 @@ +Use queue.SimpleQueue() in places where it can be invoked from a weakref +callback. |