-
-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
gh-51511: Note that codecs.open()'s encoding parameter affects automatic conversion to binary mode #94370
Conversation
…sion to binary mode
Do you want me to merge it? What about backports? |
Yep looking to get them merged, and backports sound good, I'll add the labels for 3.10/3.11 (I usually let the merger decide since they're the ones doing the extra work there :). |
Thanks @slateny for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
…automatic conversion to binary mode (pythonGH-94370) (cherry picked from commit d9407b1) Co-authored-by: Stanley <[email protected]>
GH-98533 is a backport of this pull request to the 3.11 branch. |
…automatic conversion to binary mode (pythonGH-94370) (cherry picked from commit d9407b1) Co-authored-by: Stanley <[email protected]>
GH-98534 is a backport of this pull request to the 3.10 branch. |
…tic conversion to binary mode (GH-94370) (cherry picked from commit d9407b1) Co-authored-by: Stanley <[email protected]>
…tic conversion to binary mode (GH-94370) (cherry picked from commit d9407b1) Co-authored-by: Stanley <[email protected]>
#51511
Partially related: #54553
codecs.open docs
See
cpython/Lib/codecs.py
Lines 901 to 904 in bc7f6fc
Affected lines found by
grep 'always opened in binary' -r