On Wed, Jan 29, 2014 at 4:00 AM, Victor Stinner <[email protected]>wrote:

> Popen has also a context manager which ensure that pipe are closed and
> the child exit status is read, even on error. We need maybe something
> like that.
>

I think this can't be supported by asyncio because the __exit__ would have
to block until the process is dead -- but we can't have an implicit
yield-from there. But I think that when the process eventually exits it
will be reaped by asyncio's child watcher infrastructure, so I think it is
not needed.

-- 
--Guido van Rossum (python.org/~guido)

Reply via email to