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

Łukasz Langa report at bugs.python.org
Mon Aug 2 05:44:05 EDT 2021


Łukasz Langa <lukasz at langa.pl> added the comment:


New changeset 2d11797c81be3ae776e418a5ba507098356d357c by Miss Islington (bot) in branch '3.9':
bpo-44667: Treat correctly lines ending with comments and no newlines in the Python tokenizer (GH-27499) (GH-27501)
https://github.com/python/cpython/commit/2d11797c81be3ae776e418a5ba507098356d357c


----------

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


More information about the Python-bugs-list mailing list