Skip to content

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

Merged
terryjreedy merged 1 commit into
python:3.8from
terryjreedy:backport-6bf644e-3.8
Nov 27, 2019
Merged

[3.8] bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (GH-17366)#17380
terryjreedy merged 1 commit into
python:3.8from
terryjreedy:backport-6bf644e-3.8

Conversation

@terryjreedy

@terryjreedy terryjreedy commented Nov 25, 2019

Copy link
Copy Markdown
Member

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

…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>
@bedevere-bot bedevere-bot added the type-feature A feature request or enhancement label Nov 25, 2019
@terryjreedy
terryjreedy merged commit a9c86f5 into python:3.8 Nov 27, 2019
@terryjreedy
terryjreedy deleted the backport-6bf644e-3.8 branch November 27, 2019 01:13
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