A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-July/067624.html below:

Bug? Certainly a new *behavior* from subprocess in 2.5 on Win32

[Python-Dev] FW: Bug? Certainly a new *behavior* from subprocess in 2.5 on Win32 [Python-Dev] FW: Bug? Certainly a new *behavior* from subprocess in 2.5 on Win32John Benediktsson john at ewtllc.com
Fri Jul 21 19:44:02 CEST 2006
> 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.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4