Skip to content

Conversation

@methane
Copy link
Member

@methane methane commented Mar 31, 2021

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To me, it sounds really weird to accept an encoding when a file is opened in binary mode. open(filename, "rb", encoding="locale") looks like a bug.

@methane methane merged commit cfa1766 into master Mar 31, 2021
@methane methane deleted the revert-25103-binary-locale branch March 31, 2021 09:49
@bedevere-bot
Copy link

@methane: Please replace # with GH- in the commit message next time. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants