New submission from Terry J. Reedy <tjre...@udel.edu>:
Format => Strip Trailing Whitespace should strip extra newlines at the end of the file after stripping each line, and make sure that there is at least one. The latter is done when saving, and that code can be reused. ---------- assignee: terry.reedy components: IDLE messages: 357030 nosy: terry.reedy priority: normal severity: normal stage: test needed status: open title: IDLE: Include end whitespace in whitespace fix. type: behavior versions: Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38862> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com