[issue38862] IDLE: Include end newlines in whitespace fix.

Terry J. Reedy report at bugs.python.org
Sat Nov 23 22:27:20 EST 2019


Terry J. Reedy <tjreedy at udel.edu> added the comment:

patchcheck.py removes even a single newline if that is all that remains after stripping each line.  So the revised rule is that a file should be either empty or end with a non-whitespace followed by a newline.  My intent is that a file be ready to merge to out github python/cpython repository.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38862>
_______________________________________


More information about the Python-bugs-list mailing list