[3.10] bpo-26228: Fix pty EOF handling (GH-12049) by miss-islington · Pull Request #27732 · python/cpython (original) (raw)
@pablogsal, this is a bugfix we should have done a long time ago. If you feel messing with PTY at RC stage is too risky, we can merge this post-3.10.0. Both here, and on the original PR, I ran with test-with-buildbots
and confirmed all's good manually on operating systems I have access to (Win10, Ubuntu, and macOS 10.15).
This backport has an outstanding buildbot/AMD64 FreeBSD Non-Debug PR
job where the worker got disconnected. It would have been a valuable buildbot job, given BSD and non-pydebug, but it seems the worker's got trouble relatively often: https://buildbot.python.org/all/#/builders/387
In any case, we have to have this PR in at some point as it's one of the changes that will allow running -R: -uall on macOS.