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

Fixing file encoding per PEP-263 #128

Closed
wants to merge 1 commit into from

Conversation

thirtytwobits
Copy link

Python source defaults to ASCII without encoding hints.

Python source defaults to ASCII without encoding hints.
@eirnym
Copy link

eirnym commented Oct 2, 2019

Default encoding for python 3+ is utf-8. Why do you need to add an encoding specifier for that?

@thirtytwobits
Copy link
Author

Huh, that's a great question. I added this because an automated system I encountered when using pytest-asyncio wouldn't let me proceed without it. I then failed to read the applicability of PEP-263 and assumed this was a bug in your library. I suppose the bug is with that tool. Sorry. RTFM me :)

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.

None yet

2 participants