Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

@The-Compiler The-Compiler commented May 21, 2015

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 issue May 23, 2015
Use tokenize.open to open files.
@Nurdok Nurdok merged commit f7fad8c into PyCQA:master May 23, 2015
1 check passed
Loading
@The-Compiler The-Compiler deleted the tokenize-open branch May 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants