summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2007-04-13 18:47:14 +0000
committerBarry Warsaw <barry@python.org>2007-04-13 18:47:14 +0000
commit25a3864541dc9259a3bfd36b195cbb764f8e2d56 (patch)
tree5bf4185d754518590dc92ba63407ac19d47ef0c6 /Python/sysmodule.c
parent4234827e99eb73adbd387e15619cd6290f80f655 (diff)
downloadcpython-git-25a3864541dc9259a3bfd36b195cbb764f8e2d56.tar.gz
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 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions