diff options
author | Barry Warsaw <barry@python.org> | 2007-04-23 01:58:33 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2007-04-23 01:58:33 +0000 |
commit | 2f131d81e2c45c4a2a8bebd0eded737bc90de965 (patch) | |
tree | 362b77d90f5674a6dadcc0ada9aebd5dfca9a836 /Python | |
parent | b9d39916ac8a23949c7abf95fe832376f44dce99 (diff) | |
download | cpython-git-2f131d81e2c45c4a2a8bebd0eded737bc90de965.tar.gz |
Recommit r54805:
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')
0 files changed, 0 insertions, 0 deletions