New submission from calimeroteknik <calimerotek...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue34813>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to