Repository navigation
gh-148603: Update docstrings now UTF-8 is default - #162327
Conversation
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
cc: @methane |
methane
left a comment
There was a problem hiding this comment.
I made these edits directly on GitHub, so I'm not sure whether the lines are properly wrapped at 80 columns. Please make the same changes to the docstrings in _pyio.
https://github.com/Very-cool-guy/cpython/blob/c4df8beaf2ca970191a8dbbbd34c1cdac3ed9603/Modules/_io/textio.c#L1153-L1157
The same issue exists here too, but I'll leave it up to you whether to fix it in this PR.
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
|
uh, are you sure about the changes? it looks weird now. |
Clarified the description of file modes and encoding handling.
|
Thanks @Very-cool-guy for the PR, and @methane for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
Sorry, @Very-cool-guy and @methane, I could not cleanly backport this to Please backport manually with cherry_picker, see the devguide for more information. |
|
GH-162555 is a backport of this pull request to the 3.15 branch. |
Uh oh!
There was an error while loading. Please reload this page.