[issue44667] tokenize.py emits spurious NEWLINE if file ends on a comment without a newline

Pablo Galindo Salgado report at bugs.python.org
Fri Jul 30 21:17:12 EDT 2021


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:


New changeset b6bde9fc42aecad5be0457198d17cfe7b481ad79 by Pablo Galindo Salgado in branch 'main':
bpo-44667: Treat correctly lines ending with comments and no newlines in the Python tokenizer (GH-27499)
https://github.com/python/cpython/commit/b6bde9fc42aecad5be0457198d17cfe7b481ad79


----------

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


More information about the Python-bugs-list mailing list