Beau Butler added the comment:
Quick note: Have tracked this down to what appears to be buggy behaviour
on the part of os.pipe() when called from within a Process.
First invocation of os.pipe() in a Process returns (0,x) - stdin(?)
resulting in the 'bad file descriptor' error.
I
Beau Butler added the comment:
Also reproduced in Python3.0 on OSX 10.5
--
versions: +Python 3.0
___
Python tracker
<http://bugs.python.org/issue5155>
___
___
Changes by Beau Butler :
--
title: Multiprocessing.Queue created by sub-process fails when used in
sub-sub-process -> Multiprocessing.Queue created by sub-process fails when used
in sub-sub-process ("bad file descriptor" in q.get())
_
Changes by Beau Butler :
--
title: Multiprocessing.Queue created by subprocess fails when used in
sub-sub-process -> Multiprocessing.Queue created by sub-process fails when used
in sub-sub-process
___
Python tracker
<http://bugs.pyth
New submission from Beau Butler :
(Note: This issue only happens on linux - on Windows things work fine.)
Please see the attached script.
The script creates a process (TestProcess()). That process runs and
creates a sub-process (TestSubProcess()). When TestSubProcess tries to
access a Queue