]> granicus.if.org Git - python/commit
bpo-31019: Fix multiprocessing.Process.is_alive() (#2875)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 26 Jul 2017 00:32:42 +0000 (02:32 +0200)
committerGitHub <noreply@github.com>
Wed, 26 Jul 2017 00:32:42 +0000 (02:32 +0200)
commit2db64823c20538a6cfc6033661fab5711d2d4585
tree31f3943c8c1e052d0469d8f8743238fa3e3332c5
parent627d2c8e8dc9cfe6c1cdfd9b34899eb30b600a88
bpo-31019: Fix multiprocessing.Process.is_alive() (#2875)

multiprocessing.Process.is_alive() now removes the process from the
_children set if the process completed.

The change prevents leaking "dangling" processes.
Lib/multiprocessing/process.py