[New-bugs-announce] [issue34813] child process disappears when removing a print statement after its creation

calimeroteknik report at bugs.python.org
Wed Sep 26 12:42:21 EDT 2018


New submission from calimeroteknik <calimeroteknik at free.fr>:

When two processes are created and killed, the behaviour is different if print or sleep statements are inserted.
It can also be random (different results executing the same program several times) on certain machines and versions of python.

Attached two versions, one where the child process mysteriously disappears in the cpython interpreter, and another other one that raises ChildProcessError: [Errno 10] No child processes.

This shows up with cpython, all versions I tested (3.7, 3.6, 3.5, 2.7). pypy is unaffected.

----------
files: hang.py
messages: 326485
nosy: calimeroteknik, davin, pitrou
priority: normal
severity: normal
status: open
title: child process disappears when removing a print statement after its creation
type: behavior
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7
Added file: https://bugs.python.org/file47829/hang.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34813>
_______________________________________


More information about the New-bugs-announce mailing list