]> granicus.if.org Git - python/commit
bpo-29861: release references to multiprocessing Pool tasks (#743) (#800)
authorAntoine Pitrou <pitrou@free.fr>
Fri, 24 Mar 2017 13:45:34 +0000 (14:45 +0100)
committerGitHub <noreply@github.com>
Fri, 24 Mar 2017 13:45:34 +0000 (14:45 +0100)
commitcc3331fec8b7a61c3f06c097eac85bfa38490758
treee4c49798dd88112cd4e96ce19d110848d5216e61
parent90eafdb1546604c0e9bc207723484b6816570cfe
bpo-29861: release references to multiprocessing Pool tasks (#743) (#800)

* bpo-29861: release references to multiprocessing Pool tasks (#743)

* bpo-29861: release references to multiprocessing Pool tasks

Release references to tasks, their arguments and their results as soon
as they are finished, instead of keeping them alive until another task
arrives.

* Comments in test

(cherry picked from commit 8988945cdc27ffa86ba8c624e095b51c459f5154)

* Fix Misc/NEWS (hopefully)
Lib/multiprocessing/pool.py
Lib/test/_test_multiprocessing.py
Misc/NEWS