Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Use tokenize.open to open files. #118

Merged
merged 1 commit into from
May 23, 2015
Merged

Use tokenize.open to open files. #118

merged 1 commit into from
May 23, 2015

Conversation

The-Compiler
Copy link
Member

Without this, e.g. checking an UTF-8 file (with # encoding=utf-8) on Windows
with Python 3 is broken (UnicodeDecodeError) because it's read as latin1.

Without this, e.g. checking an UTF-8 file (with # encoding=utf-8) on Windows
with Python 3 is broken (UnicodeDecodeError) because it's read as latin1.
Nurdok added a commit that referenced this pull request May 23, 2015
Use tokenize.open to open files.
@Nurdok Nurdok merged commit f7fad8c into PyCQA:master May 23, 2015
@The-Compiler The-Compiler deleted the tokenize-open branch May 23, 2015 10:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants