]> granicus.if.org Git - python/commit
bpo-29861: release references to multiprocessing Pool tasks (#743) (#801)
authorAntoine Pitrou <pitrou@free.fr>
Fri, 24 Mar 2017 14:19:18 +0000 (15:19 +0100)
committerGitHub <noreply@github.com>
Fri, 24 Mar 2017 14:19:18 +0000 (15:19 +0100)
commit80cb6ed4db9bae09de1e9ad6001d11cb45a4c1cc
tree2d829301a643bae1ad5f9476ff32856487895900
parent6a45811d06e25447c83f78d67fd78298f83868ee
bpo-29861: release references to multiprocessing Pool tasks (#743) (#801)

* 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??
Lib/multiprocessing/pool.py
Lib/test/_test_multiprocessing.py
Misc/NEWS