Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-38862: IDLE Strip Trailing Whitespace fixes end newlines #17366
Conversation
This comment has been minimized.
This comment has been minimized.
I think that this is ready to merge, but will wait half a day before doing so and moving on to invoking rstrip on save. |
This comment has been minimized.
This comment has been minimized.
Spec was revised after patchcheck experiment. See bpo-36682. |
Looks good Terry, just a few small comments for your consideration. |
LGTM |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Nov 24, 2019
Thanks @terryjreedy for the PR |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Nov 24, 2019
GH-17370 is a backport of this pull request to the 3.8 branch. |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Nov 24, 2019
GH-17371 is a backport of this pull request to the 3.7 branch. |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Nov 25, 2019
Thanks @terryjreedy for the PR |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Nov 25, 2019
Thanks @terryjreedy for the PR |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Nov 25, 2019
Thanks @terryjreedy for the PR |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Nov 25, 2019
Sorry, @terryjreedy, I could not cleanly backport this to |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Nov 25, 2019
Thanks @terryjreedy for the PR |
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Nov 25, 2019
Sorry @terryjreedy, I had trouble checking out the |
…ythonGH-17366) 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>
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Nov 25, 2019
GH-17379 is a backport of this pull request to the 3.7 branch. |
…ythonGH-17366) 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>
terryjreedy commentedNov 24, 2019
•
edited
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.
https://bugs.python.org/issue38862