diff options
author | Barry Warsaw <barry@python.org> | 2007-04-13 18:47:14 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2007-04-13 18:47:14 (GMT) |
commit | 25a3864541dc9259a3bfd36b195cbb764f8e2d56 (patch) | |
tree | 5bf4185d754518590dc92ba63407ac19d47ef0c6 /Objects/frameobject.c | |
parent | 4234827e99eb73adbd387e15619cd6290f80f655 (diff) | |
download | cpython-25a3864541dc9259a3bfd36b195cbb764f8e2d56.zip cpython-25a3864541dc9259a3bfd36b195cbb764f8e2d56.tar.gz cpython-25a3864541dc9259a3bfd36b195cbb764f8e2d56.tar.bz2 |
Port r54805 from python25-maint branch:
Add code to read from master_fd in the parent, breaking when we get an OSError
(EIO can occur on Linux) or there's no more data to read. Without this,
test_pty.py can hang on the waitpid() because the child is blocking on the
stdout write. This will definitely happen on Mac OS X and could potentially
happen on other platforms. See the comment for details.
Diffstat (limited to 'Objects/frameobject.c')
0 files changed, 0 insertions, 0 deletions