File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -2414,3 +2414,11 @@ Notable changes in Python 3.6.5
24142414The :func: `locale.localeconv ` function now sets temporarily the ``LC_CTYPE ``
24152415locale to the ``LC_NUMERIC `` locale in some cases.
24162416(Contributed by Victor Stinner in :issue: `31900 `.)
2417+
2418+ Notable changes in Python 3.6.7
2419+ ===============================
2420+
2421+ In 3.6.7 the :mod: `tokenize ` module now implicitly emits a ``NEWLINE `` token
2422+ when provided with input that does not have a trailing new line. This behavior
2423+ now matches what the C tokenizer does internally.
2424+ (Contributed by Ammar Askar in :issue: `33899 `.)
Original file line number Diff line number Diff line change @@ -2507,3 +2507,8 @@ calling :c:func:`Py_Initialize`.
25072507In 3.7.1 the C API for Context Variables
25082508:ref: `was updated <contextvarsobjects_pointertype_change >` to use
25092509:c:type: `PyObject ` pointers. See also :issue: `34762 `.
2510+
2511+ In 3.7.1 the :mod: `tokenize ` module now implicitly emits a ``NEWLINE `` token
2512+ when provided with input that does not have a trailing new line. This behavior
2513+ now matches what the C tokenizer does internally.
2514+ (Contributed by Ammar Askar in :issue: `33899 `.)
Original file line number Diff line number Diff line change @@ -173,6 +173,14 @@ Added :attr:`SSLContext.post_handshake_auth` to enable and
173173post-handshake authentication.
174174(Contributed by Christian Heimes in :issue: `34670 `.)
175175
176+ tokenize
177+ --------
178+
179+ The :mod: `tokenize ` module now implicitly emits a ``NEWLINE `` token when
180+ provided with input that does not have a trailing new line. This behavior
181+ now matches what the C tokenizer does internally.
182+ (Contributed by Ammar Askar in :issue: `33899 `.)
183+
176184tkinter
177185-------
178186
You can’t perform that action at this time.
0 commit comments