[issue5155] Multiprocessing.Queue created by sub-process fails when used in sub-sub-process ("bad file descriptor" in q.get())

2009-03-31 Thread Beau Butler
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

[issue5155] Multiprocessing.Queue created by sub-process fails when used in sub-sub-process ("bad file descriptor" in q.get())

2009-02-04 Thread Beau Butler
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> ___ ___

[issue5155] Multiprocessing.Queue created by sub-process fails when used in sub-sub-process ("bad file descriptor" in q.get())

2009-02-04 Thread Beau Butler
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()) _

[issue5155] Multiprocessing.Queue created by sub-process fails when used in sub-sub-process

2009-02-04 Thread Beau Butler
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

[issue5155] Multiprocessing.Queue created by subprocess fails when used in sub-sub-process

2009-02-04 Thread Beau Butler
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