Skip to content

[3.7] bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (GH-17366) #17379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 27, 2019

Conversation

terryjreedy
Copy link
Member

@terryjreedy terryjreedy commented Nov 25, 2019

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 [email protected]

https://bugs.python.org/issue38862

…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 <[email protected]>
@bedevere-bot bedevere-bot added type-feature A feature request or enhancement awaiting core review labels Nov 25, 2019
@terryjreedy terryjreedy changed the title [3.7] bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (… [3.7] bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (GH-17366) Nov 25, 2019
@terryjreedy terryjreedy merged commit 2fb9719 into python:3.7 Nov 27, 2019
@terryjreedy terryjreedy deleted the backport-6bf644e-3.7 branch November 27, 2019 01:12
@bedevere-bot
Copy link

@terryjreedy: Please replace # with GH- in the commit message next time. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants