[issue27081] Cannot capture sys.stderr output from an uncaught exception in a multiprocessing Process using a multiprocessing Queue
Davin Potts
report at bugs.python.org
Sat Jul 2 16:17:53 EDT 2016
Davin Potts added the comment:
I took the example snippet and cleaned things up a bit, adding some crude timestamping and commentary. (Attached)
In the example, when the Process finally dies, a lot of information has been put onto the Queue but it hasn't necessarily had enough time to be synced to the parent process so it may be only a truncated subset of the data that remains available/visible/retrievable on the parent. How much data gets synced to the parent depends on many factors and should even vary from one run to another.
That is to say that a multiprocessing.Queue is not going to hold up a dying process to finish communicating data to other processes.
----------
Added file: http://bugs.python.org/file43613/issue27081.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27081>
_______________________________________
More information about the Python-bugs-list
mailing list