Title: gh-128067: Add newline to new REPL output when needed to avoid chopping characters by devdanzin · Pull Request #131011 · python/cpython · GitHub
Open Graph Title: gh-128067: Add newline to new REPL output when needed to avoid chopping characters by devdanzin · Pull Request #131011 · python/cpython
X Title: gh-128067: Add newline to new REPL output when needed to avoid chopping characters by devdanzin · Pull Request #131011 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: This PR attempts to fix #128067 (and #128809) by capturing REPL output into a StringIO, checking whether it ends in a newline and adding one if necessary. Works on Windows and Linux. Before: >&g...
X Description: This PR attempts to fix #128067 (and #128809) by capturing REPL output into a StringIO, checking whether it ends in a newline and adding one if necessary. Works on Windows and Linux. Before: &g...
Opengraph URL: https://github.com/python/cpython/pull/131011
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:72a5795d-2304-b890-5892-ea8d10cd9fed |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | BB64:1E6616:46CDF8:608885:6A524B56 |
| html-safe-nonce | 1d274dae26bc624c73046173cec6c8c0e29db480382bdb141141cfbc3eb4fb4f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjY0OjFFNjYxNjo0NkNERjg6NjA4ODg1OjZBNTI0QjU2IiwidmlzaXRvcl9pZCI6IjMxMjUyMTc2OTA0MDQ0MDgxNTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 896d387d259f75343c11779d34aaaeaf96e6d61e515503c86c1d462deba02390 |
| hovercard-subject-tag | pull_request:2380720556 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/131011/checks |
| twitter:image | https://opengraph.githubassets.com/9850a88fe8045c42176f44472fef0839cba314dc687ae4fc3de92a9ed4c468c8/python/cpython/pull/131011 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9850a88fe8045c42176f44472fef0839cba314dc687ae4fc3de92a9ed4c468c8/python/cpython/pull/131011 |
| og:image:alt | This PR attempts to fix #128067 (and #128809) by capturing REPL output into a StringIO, checking whether it ends in a newline and adding one if necessary. Works on Windows and Linux. Before: >&g... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | devdanzin |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width