Revert "bpo-43510: PEP 597: Accept `encoding="locale"` in binary mode." by methane · Pull Request #25108 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Merged
Conversation
Member
the-knights-who-say-ni
added
the
CLA signed
label
bedevere-bot
added
the
awaiting core review
label
vstinner
approved these changes
vstinner
left a comment
vstinner
left a comment
Member
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.
bedevere-bot
added
awaiting merge
and removed
awaiting core review
labels
methane
added
the
skip news
label
methane
merged commit
cfa1766
into
master
methane
deleted the
revert-25103-binary-locale
branch
bedevere-bot
commented
Mar 31, 2021
bedevere-bot commented
@methane: Please replace # with GH- in the commit message next time. Thanks!
bedevere-bot
removed
the
awaiting merge
label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment