[issue40612] Make traceback module's formatting of SyntaxError more similar to system formatting
Guido van Rossum
report at bugs.python.org
Thu May 14 13:54:47 EDT 2020
Guido van Rossum <guido at python.org> added the comment:
My current PR does not strip trailing whitespace. It only strips a single trailing newline (since this is usually but not always present, and we don't want to its presence to cause an extra blank line, nor do we want its absence to cause the text line and the caret line to be run together).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40612>
_______________________________________
More information about the Python-bugs-list
mailing list