select() vs. pipes (was [Python-Dev] Re: PEP 324 (process module))

Peter Astrand astrand at lysator.liu.se
Thu Aug 5 20:30:03 CEST 2004


> In popen5, "communicate" is terminal.  It calls select until there's no
> more data to get back and then unconditionally waits for the subprocess
> to finish, blocking the entire time.  This isn't useful for the type of

Yes, I agree. Other people has request this as well.

But, even though this could be useful, I do not consider it a showstopper
which needs to be solved before the module can be included in the stdlib.
Windows support without need for win32all is a more major issue, I think.

A non-terminal "communicate" can be added later.


/Peter Åstrand <astrand at lysator.liu.se>



More information about the Python-Dev mailing list