bpo-31019: Fix multiprocessing.Process.is_alive() (#2875) (#2882)

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

The change prevents leaking "dangling" processes.
(cherry picked from commit 2db64823c20538a6cfc6033661fab5711d2d4585)
1 file changed