Recommit r54805:
authorBarry Warsaw <barry@python.org>
Mon, 23 Apr 2007 01:58:33 +0000 (01:58 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 23 Apr 2007 01:58:33 +0000 (01:58 +0000)
commit2f131d81e2c45c4a2a8bebd0eded737bc90de965
tree362b77d90f5674a6dadcc0ada9aebd5dfca9a836
parentb9d39916ac8a23949c7abf95fe832376f44dce99
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.
Lib/test/test_pty.py
Misc/NEWS