[issue35107] untokenize() fails on tokenize output when a newline is missing

Terry J. Reedy report at bugs.python.org
Wed Jan 19 15:52:55 EST 2022


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

#44667 tokenize.py emits spurious NEWLINE if file ends on a comment without a newline
Fixed on 3.11, 3.10, 3.9 Aug 2021.

----------

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


More information about the Python-bugs-list mailing list