summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.6.rst
diff options
context:
space:
mode:
authorTal Einat <taleinat+github@gmail.com>2018-10-24 07:20:05 (GMT)
committerGregory P. Smith <greg@krypto.org>2018-10-24 07:20:05 (GMT)
commitdfba1f67e7f1381ceb7cec8fbcfa37337620a9b0 (patch)
treebadb960b54291c208f604dbfc3446ec9b3d1fd58 /Doc/whatsnew/3.6.rst
parentc46db9232f1a6e0e3c33053549d03d4335db9dca (diff)
downloadcpython-dfba1f67e7f1381ceb7cec8fbcfa37337620a9b0.zip
cpython-dfba1f67e7f1381ceb7cec8fbcfa37337620a9b0.tar.gz
cpython-dfba1f67e7f1381ceb7cec8fbcfa37337620a9b0.tar.bz2
bpo-33899: Mention tokenize behavior change in What's New (GH-10073)
Diffstat (limited to 'Doc/whatsnew/3.6.rst')
-rw-r--r--Doc/whatsnew/3.6.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index fec7c62..bba1654 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -2414,3 +2414,11 @@ Notable changes in Python 3.6.5
The :func:`locale.localeconv` function now sets temporarily the ``LC_CTYPE``
locale to the ``LC_NUMERIC`` locale in some cases.
(Contributed by Victor Stinner in :issue:`31900`.)
+
+Notable changes in Python 3.6.7
+===============================
+
+In 3.6.7 the :mod:`tokenize` module now implicitly emits a ``NEWLINE`` token
+when provided with input that does not have a trailing new line. This behavior
+now matches what the C tokenizer does internally.
+(Contributed by Ammar Askar in :issue:`33899`.)