SIGN IN SIGN UP

bpo-31158: Fix nondeterministic read in test_pty (#3808)

* bpo-31158: Fix nondeterministic read in test_pty

* Reuse existing readline implementation from io.

Thx to @pitrou

* Updated comment

Ideally, this commit is fixuped into the previous commit. Since there is
already a comment on github, I won't rebase.
C
Cornelius Diekmann committed
e6f62f69f07892b993910ff03c9db3ffa5cb9ca5
Parent: b75a228
Committed by Victor Stinner <victor.stinner@gmail.com> on 10/2/2017, 9:39:55 AM