Skip to content

[3.6] bpo-33899: Make tokenize module mirror end-of-file is end-of-li…#8134

Merged
taleinat merged 1 commit into
python:3.6from
ammaraskar:backport-c4ef489-3.6
Jul 6, 2018
Merged

[3.6] bpo-33899: Make tokenize module mirror end-of-file is end-of-li…#8134
taleinat merged 1 commit into
python:3.6from
ammaraskar:backport-c4ef489-3.6

Conversation

@ammaraskar

@ammaraskar ammaraskar commented Jul 6, 2018

Copy link
Copy Markdown
Member

…ne behavior (pythonGH-7891)

Most of the change involves fixing up the test suite, which previously made
the assumption that there wouldn't be a new line if the input didn't end in
one.

Contributed by Ammar Askar..
(cherry picked from commit c4ef489)

Co-authored-by: Ammar Askar <ammar_askar@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants