]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-29861: release references to multiprocessing Pool tasks (#743) (#803) 820/head
authorAntoine Pitrou <pitrou@free.fr>
Fri, 24 Mar 2017 15:03:46 +0000 (16:03 +0100)
committerGitHub <noreply@github.com>
Fri, 24 Mar 2017 15:03:46 +0000 (16:03 +0100)
commit5084ff7ddfe68969d95af12075016f309718aea8
tree7ff9f376605c41aca35e2fb26db54d75aa6afdf5
parentde65804d5cbca7fc033db17e504740b97f033221
bpo-29861: release references to multiprocessing Pool tasks (#743) (#803)

* 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