You need to sign in or sign up before continuing.
  • Barry Warsaw's avatar
    Port r54805 from python25-maint branch: · 25a38645
    Barry Warsaw authored
    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.
    25a38645
test_pty.py 6.52 KB