]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35424: emit ResourceWarning at multiprocessing.Pool destruction (GH-10974)
authorVictor Stinner <vstinner@redhat.com>
Thu, 20 Dec 2018 19:33:51 +0000 (20:33 +0100)
committerGitHub <noreply@github.com>
Thu, 20 Dec 2018 19:33:51 +0000 (20:33 +0100)
commit9a8d1d7562b11969034b92217fe66aab7a951fb6
treeef43389c6be139d7f016e98129c22bc829ea388c
parentc5d5dfdb223efb0e668e3f317d31b8b70ae96aa6
bpo-35424: emit ResourceWarning at multiprocessing.Pool destruction (GH-10974)

multiprocessing.Pool destructor now emits ResourceWarning
if the pool is still running.
Lib/multiprocessing/pool.py
Lib/test/_test_multiprocessing.py
Misc/NEWS.d/next/Library/2018-12-06-02-02-28.bpo-35424.gXxOJU.rst [new file with mode: 0644]