On Mon, Sep 05, 2005 at 10:41:52AM -0400, Dennis Craven wrote:
> On Sun, 2005-08-28 at 22:46 -0700, Brian wrote:
> > On Mon, 2005-29-08 at 13:18 +1000, Simon Gerber wrote:
> > I've attached a small dispatcher.py script and an example script that
> > shows how to use it.  This dispatcher code has fixed a lot of bugs and
> > intermittent problems with our project.  It does a great job of
> > separating code and callbacks when dealing with threads.
> 
> That pipe that gets opened in dispatcher.py, does it get closed
> implicitely or is that a bug waiting to happen? I just thought I'd ask
> in case I can save a headache or two down the road :)

pipes, don't get closed implicitely because they are essential just
integers. If you want implicit closing, you have to turn the pipe
fd's into files with the os.fdopen call.

-- 
Antoon Pardon
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to