Skip to content

Commit 9a04762

Browse files
taleinatmiss-islington
authored andcommitted
[3.6] bpo-33899: Mention tokenize behavior change in What's New (GH-10073) (GH-10075)
(cherry picked from commit dfba1f6) https://bugs.python.org/issue33899
1 parent 797cfbd commit 9a04762

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/whatsnew/3.6.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2433,3 +2433,8 @@ Notable changes in Python 3.6.7
24332433

24342434
:mod:`xml.dom.minidom` and mod:`xml.sax` modules no longer process
24352435
external entities by default. See also :issue:`17239`.
2436+
2437+
In 3.6.7 the :mod:`tokenize` module now implicitly emits a ``NEWLINE`` token
2438+
when provided with input that does not have a trailing new line. This behavior
2439+
now matches what the C tokenizer does internally.
2440+
(Contributed by Ammar Askar in :issue:`33899`.)

0 commit comments

Comments
 (0)