summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-12-20 19:33:51 (GMT)
committerGitHub <noreply@github.com>2018-12-20 19:33:51 (GMT)
commit9a8d1d7562b11969034b92217fe66aab7a951fb6 (patch)
treeef43389c6be139d7f016e98129c22bc829ea388c /Misc
parentc5d5dfdb223efb0e668e3f317d31b8b70ae96aa6 (diff)
downloadcpython-9a8d1d7562b11969034b92217fe66aab7a951fb6.zip
cpython-9a8d1d7562b11969034b92217fe66aab7a951fb6.tar.gz
cpython-9a8d1d7562b11969034b92217fe66aab7a951fb6.tar.bz2
bpo-35424: emit ResourceWarning at multiprocessing.Pool destruction (GH-10974)
multiprocessing.Pool destructor now emits ResourceWarning if the pool is still running.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-12-06-02-02-28.bpo-35424.gXxOJU.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-12-06-02-02-28.bpo-35424.gXxOJU.rst b/Misc/NEWS.d/next/Library/2018-12-06-02-02-28.bpo-35424.gXxOJU.rst
new file mode 100644
index 0000000..db4a336
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-12-06-02-02-28.bpo-35424.gXxOJU.rst
@@ -0,0 +1,2 @@
+:class:`multiprocessing.Pool` destructor now emits :exc:`ResourceWarning`
+if the pool is still running.