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 | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:ce686341-780e-29d9-2e0c-16f128e64628 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E2B6:497D6:D3B592:11EACE2:6A51F988 |
| html-safe-nonce | b93e6bf7a1bcba6007cc4cca8db92766f155518d84ae283c16f19abc4d2c7a9f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkI2OjQ5N0Q2OkQzQjU5MjoxMUVBQ0UyOjZBNTFGOTg4IiwidmlzaXRvcl9pZCI6IjMzMzczMDE0NjYwODM4ODM0MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9cc967f8ca34e655d3150b7fcef45d661dde959f26f57e743f4e549259755e43 |
| hovercard-subject-tag | pull_request:2380720556 |
| 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/_view_fragments/voltron/pull_requests/show/python/cpython/131011/pull_request_layout |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width