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

Conversation

Projects
None yet
2 participants
@The-Compiler
Copy link
Contributor

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.

Use tokenize.open to open files.
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

Merge pull request #118 from The-Compiler/tokenize-open
Use tokenize.open to open files.

@Nurdok Nurdok merged commit f7fad8c into PyCQA:master May 23, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@The-Compiler The-Compiler deleted the The-Compiler:tokenize-open branch May 23, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.