]> granicus.if.org Git - python/commit
[3.5] Clear potential ref cycle between Process and Process target (GH-2470) (#2472)
authorAntoine Pitrou <pitrou@free.fr>
Wed, 28 Jun 2017 11:15:58 +0000 (13:15 +0200)
committerGitHub <noreply@github.com>
Wed, 28 Jun 2017 11:15:58 +0000 (13:15 +0200)
commita9705b777859f555d50eb5dcd5fc4260c42a0188
treefab574b858e11c89f7ee7a34beb422f59457148f
parentf15bf1f3f3104f6ab2229e4b359984489a74685b
[3.5] Clear potential ref cycle between Process and Process target (GH-2470) (#2472)

* 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