]> granicus.if.org Git - python/commit
bpo-29861: release references to multiprocessing Pool tasks (#743)
authorAntoine Pitrou <pitrou@free.fr>
Fri, 24 Mar 2017 12:52:11 +0000 (13:52 +0100)
committerGitHub <noreply@github.com>
Fri, 24 Mar 2017 12:52:11 +0000 (13:52 +0100)
commit8988945cdc27ffa86ba8c624e095b51c459f5154
tree3dd4f0619935cca2a0556f0a9cac10ff0aa6b678
parente304e33c16e060932d1e2cc8a030d42b02b429b5
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
Lib/multiprocessing/pool.py
Lib/test/_test_multiprocessing.py
Misc/NEWS