[issue19293] test_asyncio hanging for 1 hour
Richard Oudkerk
report at bugs.python.org
Sun Oct 20 19:37:10 CEST 2013
Richard Oudkerk added the comment:
> I guess we'll have to write platform-dependent code and make this an
> optional feature. (Essentially, on platforms like AIX, for a
> write-pipe, connection_lost() won't be called unless you try to write
> some more bytes to it.)
If we are not capturing stdout/stderr then we could "leak" the write end of a pipe to the child. When the read end becomes readable we can call the process protocol's connection_lost().
Or we could just call connection_lost() when reaping the pid.
----------
nosy: +sbt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19293>
_______________________________________
More information about the Python-bugs-list
mailing list