]> granicus.if.org Git - python/commit
[2.7] Clear potential ref cycle between Process and Process target (GH-2470) (#2473)
authorAntoine Pitrou <pitrou@free.fr>
Wed, 28 Jun 2017 11:48:38 +0000 (13:48 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 28 Jun 2017 11:48:38 +0000 (13:48 +0200)
commit12536bd261ba95cd2748f3d7d47768742a6ffa7a
tree45779e08286b61b38b36c9eb408ace8c5cabe085
parent5b5002c466f7952a81634e482d1aa9ef0f3e96f7
[2.7] Clear potential ref cycle between Process and Process target (GH-2470) (#2473)

* 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