Repository navigation
gh-141004: Document the remaining parts of the public C API - #159892
Conversation
Documentation build overview
26 files changed ·
|
encukou
left a comment
There was a problem hiding this comment.
I have a bunch of suggestions for these.
| String literal ``"b"``, which can be appended to a C standard I/O mode | ||
| string, such as ``"r" PY_STDIOTEXTMODE``, to open a file in binary mode. | ||
| This prevents the C library from translating newlines, so that Python can | ||
| perform its own newline translation. |
There was a problem hiding this comment.
Users don't need this in standard C.
| String literal ``"b"``, which can be appended to a C standard I/O mode | |
| string, such as ``"r" PY_STDIOTEXTMODE``, to open a file in binary mode. | |
| This prevents the C library from translating newlines, so that Python can | |
| perform its own newline translation. | |
| The string literal ``"b"``, used to open files in binary mode. | |
| Exposed for backwards compatibility only. | |
| .. soft-deprecated:: next |
There was a problem hiding this comment.
One more thing: there's a "Soft-deprecated API" section just below this, move it there?
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
encukou
left a comment
There was a problem hiding this comment.
I don't think you need to check the Expat version.
Co-authored-by: Petr Viktorin <encukou@gmail.com>
|
Thank you! |
|
Thanks @ZeroIntensity for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
|
Sorry, @ZeroIntensity and @encukou, I could not cleanly backport this to Please backport manually with cherry_picker, see the devguide for more information. |
|
GH-160067 is a backport of this pull request to the 3.15 branch. |
|
GH-160070 is a backport of this pull request to the 3.14 branch. |
Almost there!