]> granicus.if.org Git - python/commit
[3.6] Clear potential ref cycle between Process and Process target (GH-2470) (#2471)
authorAntoine Pitrou <pitrou@free.fr>
Wed, 28 Jun 2017 11:08:20 +0000 (13:08 +0200)
committerGitHub <noreply@github.com>
Wed, 28 Jun 2017 11:08:20 +0000 (13:08 +0200)
commit38d6a40898940d2c62c637fcc8acce05e75de5c2
tree2a2c720e141dbc0247a9d3a643ad6358d3615db2
parente022aad73a4151b5628e2476a8465ce6c0d18b8c
[3.6] Clear potential ref cycle between Process and Process target (GH-2470) (#2471)

* Clear potential ref cycle between Process and Process target

Besides Process.join() not being called, this was an indirect cause of bpo-30775.
The threading module already does this.

* Add issue reference.
(cherry picked from commit 79d37ae979a65ada0b2ac820279ccc3b1cd41ba6)
Lib/multiprocessing/process.py
Lib/test/_test_multiprocessing.py