Terry J. Reedy <tjre...@udel.edu> added the comment:
I believe that this should be closed as not-a-bug. Ending a file with <newline><indent><eof> *is* a syntax error. Previous, it was assumed that the problem, in retrospect, was the 'extra' indent. But one can equally say that the problem is the 'missing' statement after the otherwise legitimate indent. Even a newline is enough to make the code legal. The current message no longer guess whether there is too much or too little code. ---------- nosy: +pablogsal, terry.reedy _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42813> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com