[Python-Dev] FW: Bug? Certainly a new *behavior* from subprocess in 2.5 on Win32

Kevin Jacobs <jacobs@bioinformed.com> bioinformed at gmail.com
Fri Jul 21 20:53:56 CEST 2006


That'll teach me to fire off emails while running out the door.   Thanks.

-Kevin


On 7/21/06, John Benediktsson <john at ewtllc.com> wrote:
>
>
> > The is _active check, unless it intendeds to check for either empty or
>
> > None, should probably be revised to:
> >
> >     def __del__(self):
> >         # In case the child hasn't been waited on, check if it's done.
> >         self.poll(_deadstate=sys.maxint)
> >         if self.sts < 0:
> >             if _active is None:
> >                 # Child is still running, keep us alive until we can
> > wait on it.
> >                 _active.append(self)
> >
>
> It probably is obvious, but I think you mean:
>
>     if _active is not None:
>         ...
>
> Thanks,
> John.
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/jacobs%40bioinformed.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20060721/73f4b83d/attachment.html 


More information about the Python-Dev mailing list