summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2007-04-13 16:12:02 +0000
committerBarry Warsaw <barry@python.org>2007-04-13 16:12:02 +0000
commit9bd522d7d13b8db51a87e650c5b439ccf49c616c (patch)
treec4924ade6da08cc13a7dd3973198990c87d3a4b2 /Python/pythonrun.c
parent9df5fa0d91ca8e3c744b7da1d96ee63ec313970d (diff)
downloadcpython-git-9bd522d7d13b8db51a87e650c5b439ccf49c616c.tar.gz
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/pythonrun.c')
0 files changed, 0 insertions, 0 deletions