Title: [3.7] bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (GH-17366) by terryjreedy · Pull Request #17379 · python/cpython · GitHub
Open Graph Title: [3.7] bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (GH-17366) by terryjreedy · Pull Request #17379 · python/cpython
X Title: [3.7] bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (GH-17366) by terryjreedy · Pull Request #17379 · python/cpython
Description: Extra newlines are removed at the end of non-shell files. If the file only has newlines after stripping other trailing whitespace, all are removed, as is done by patchcheck.py. (cherry picked from commit 6bf644e) Co-authored-by: Terry Jan Reedy tjreedy@udel.edu https://bugs.python.org/issue38862
Open Graph Description: Extra newlines are removed at the end of non-shell files. If the file only has newlines after stripping other trailing whitespace, all are removed, as is done by patchcheck.py. (cherry picked from ...
X Description: Extra newlines are removed at the end of non-shell files. If the file only has newlines after stripping other trailing whitespace, all are removed, as is done by patchcheck.py. (cherry picked from ...
Opengraph URL: https://github.com/python/cpython/pull/17379
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7fc8f7da-6fed-1ff1-1833-7287b320cfa0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D6C8:147D30:3BCDD7:55659B:6A4E6C65 |
| html-safe-nonce | 2dbeb8a7692d1f7f416665186d93f2ca2fd92e18a96e8c25f49e3c73307418b6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkM4OjE0N0QzMDozQkNERDc6NTU2NTlCOjZBNEU2QzY1IiwidmlzaXRvcl9pZCI6IjIzODY5NzU5NjExMjU5MDc1NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 498a2660d23dd8225d44abc27d857d0301e9eab5fac6eaa042e4807596343783 |
| hovercard-subject-tag | pull_request:345406686 |
| 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/17379/files |
| twitter:image | https://avatars.githubusercontent.com/u/19036496?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/19036496?s=400&v=4 |
| og:image:alt | Extra newlines are removed at the end of non-shell files. If the file only has newlines after stripping other trailing whitespace, all are removed, as is done by patchcheck.py. (cherry picked from ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width