New submission from STINNER Victor <vstin...@python.org>:

While debugging bpo-39877, I was surprising that Python crash was only noticed 
on FreeBSD by a side effect. On FreeBSD, coredump files are created in the 
current directory. But Python regrtest fails if a test creates a file and 
doesn't remove it.

I found that multiprocessing.Process.join() deletes the subprocess.Popen object 
as soon as the process completes, but it doesn't log any warning if the process 
is killed by a signal. The caller has no way to be notified.

I propose to enhance Process to log a warning if such case happens.

----------
components: Library (Lib)
messages: 363980
nosy: vstinner
priority: normal
severity: normal
status: open
title: multiprocessing: Process.join() should emit a warning if the process is 
killed by a signal
versions: Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39941>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to