Title: bpo-26228: Fix pty EOF handling by RadicalZephyr · Pull Request #12049 · python/cpython · GitHub
Open Graph Title: bpo-26228: Fix pty EOF handling by RadicalZephyr · Pull Request #12049 · python/cpython
X Title: bpo-26228: Fix pty EOF handling by RadicalZephyr · Pull Request #12049 · python/cpython
Description: I took a shot at fixing this in a smaller more targeted patch. I don't have a BSD system to test this on, but I think this should still solve the major issue of pty.spawn hanging on platforms that don't raise an error. In addition, pty.spawn should now ALWAYS return the terminal to the previous settings. Co-authored with @reillysiemens. https://bugs.python.org/issue26228
Open Graph Description: I took a shot at fixing this in a smaller more targeted patch. I don't have a BSD system to test this on, but I think this should still solve the major issue of pty.spawn hanging on platforms ...
X Description: I took a shot at fixing this in a smaller more targeted patch. I don't have a BSD system to test this on, but I think this should still solve the major issue of pty.spawn hanging on platfo...
Opengraph URL: https://github.com/python/cpython/pull/12049
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:46a3cdd0-cc97-829b-b780-9888e6bb24a5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B7BE:47423:65FD9A5:8EC6D54:6A501EAF |
| html-safe-nonce | eb8ac85f8acfc9bca5cfdce48b8a23a456a3c8591ebe2aee8fae27f368090ccf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0JFOjQ3NDIzOjY1RkQ5QTU6OEVDNkQ1NDo2QTUwMUVBRiIsInZpc2l0b3JfaWQiOiIyNzYyNzAyMzExNTIwMjE0NzAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 66c3248c394b38af63c6e23bd7467ed958a5890cc6e2735985d4b56907955199 |
| hovercard-subject-tag | pull_request:256204048 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/12049/files |
| twitter:image | https://avatars.githubusercontent.com/u/113102?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/113102?s=400&v=4 |
| og:image:alt | I took a shot at fixing this in a smaller more targeted patch. I don't have a BSD system to test this on, but I think this should still solve the major issue of pty.spawn hanging on platforms ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 14f013003d3992e8746116a6f2f55cd2fdaccd329ee0423392831ae051ecb535 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 26ee7c1a62943cf19a6fcc1d1ac93ac83465c885 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width