Staging
v0.5.1
https://github.com/python/cpython
Revision 9bd522d7d13b8db51a87e650c5b439ccf49c616c authored by Barry Warsaw on 13 April 2007, 16:12:02 UTC, committed by Barry Warsaw on 13 April 2007, 16:12:02 UTC
(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.
1 parent 9df5fa0
History
Tip revision: 9bd522d7d13b8db51a87e650c5b439ccf49c616c authored by Barry Warsaw on 13 April 2007, 16:12:02 UTC
Add code to read from master_fd in the parent, breaking when we get an OSError
Tip revision: 9bd522d

README

back to top