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

PEP 597: Raise a warning when encoding is omitted #19481

Draft
wants to merge 11 commits into
base: master
from

Conversation

@methane
Copy link
Member

@methane methane commented Apr 12, 2020

The warning is raised only in dev mode.

pathlib uses the new io.text_encoding helper function.
Other libraries will follow.

Discussion: https://discuss.python.org/t/pep-597-raise-a-warning-when-encoding-is-omitted-in-dev-mode/3880

The warning is raised only in dev mode.

pathlib uses the new `io.text_encoding` helper function.
Other libraries will follow.
@methane methane force-pushed the methane:open-encoding branch from 1ab7ccc to 1059fae Apr 12, 2020
methane added 3 commits Apr 12, 2020
@methane methane force-pushed the methane:open-encoding branch from 2b464c8 to b927e80 Apr 12, 2020
@methane methane force-pushed the methane:open-encoding branch from c7c80aa to c37295e Apr 13, 2020
methane added 2 commits Apr 13, 2020
@methane methane force-pushed the methane:open-encoding branch from c37295e to 6f72b38 Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.