[proxy] web.archive.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines by terryjreedy · Pull Request #17366 · python/cpython

terryjreedy

The Wayback Machine - http://web.archive.org/web/20191217202309/https://github.com/python/cpython/pull/17366

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 up

Conversation

A non-blank non-shell window should end with exactly one newline
following something other than space, tab, or newline.  It should
then be ready to commit to the cpython repository.

terryjreedy merged commit 6bf644e into python:master

Nov 24, 2019

4 checks passed

Azure Pipelines PR #20191124.8 succeeded

Details

bedevere/issue-number Issue number 38862 found

Details

bedevere/news News entry found in Misc/NEWS.d

continuous-integration/travis-ci/pr The Travis CI build passed

Details

miss-islington added a commit to miss-islington/cpython that referenced this pull request

Nov 24, 2019
…H-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>

miss-islington added a commit to miss-islington/cpython that referenced this pull request

Nov 24, 2019
…H-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 added a commit to terryjreedy/cpython that referenced this pull request

Nov 25, 2019
…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>

Merged

terryjreedy added a commit to terryjreedy/cpython that referenced this pull request

Nov 25, 2019
…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 added a commit that referenced this pull request

Nov 27, 2019
…H-17366) (#17379)

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 added a commit that referenced this pull request

Nov 27, 2019
…H-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>

jacobneiltaylor added a commit to jacobneiltaylor/cpython that referenced this pull request

Dec 5, 2019
…GH-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.