[New-bugs-announce] [issue30976] multiprocessing.Process.is_alive can show True for dead processes

Mick Phillips report at bugs.python.org
Thu Jul 20 10:58:52 EDT 2017


New submission from Mick Phillips:

multiprocessing.Process.is_alive() returns True for processes that have been killed. See attached for example.

Workaround: also test against psutils.pid_exists.

----------
components: Windows
files: alive.py
messages: 298724
nosy: davin, mickp, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: multiprocessing.Process.is_alive can show True for dead processes
versions: Python 2.7, Python 3.5
Added file: http://bugs.python.org/file47028/alive.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30976>
_______________________________________


More information about the New-bugs-announce mailing list