[3.13] gh-136162: Document encodings package functions (GH-136164)#136453
Merged
malemburg merged 1 commit intopython:3.13from Jul 9, 2025
Merged
[3.13] gh-136162: Document encodings package functions (GH-136164)#136453malemburg merged 1 commit intopython:3.13from
encodings package functions (GH-136164)#136453malemburg merged 1 commit intopython:3.13from
Conversation
) Closes pythonGH-136162. (cherry picked from commit ffd7f2f) Co-authored-by: Stan Ulbrych <[email protected]>
This was referenced Jul 9, 2025
Comment on lines
+1517
to
+1526
| .. function:: win32_code_page_search_function(encoding) | ||
|
|
||
| Search for a Windows code page encoding *encoding* of the form ``cpXXXX``. | ||
|
|
||
| If the code page is valid and supported, return a :class:`codecs.CodecInfo` | ||
| object for it. | ||
|
|
||
| .. availability:: Windows. | ||
|
|
||
| .. versionadded:: 3.14 |
Member
There was a problem hiding this comment.
This function was added in 3.14, on this branch [3.13] there is private function:
cpython/Lib/encodings/__init__.py
Line 163 in 21bcecf
Member
There was a problem hiding this comment.
Oh, you're right. This is rather new function.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes GH-136162.
(cherry picked from commit ffd7f2f)
Co-authored-by: Stan Ulbrych [email protected]
📚 Documentation preview 📚: https://cpython-previews--136453.org.readthedocs.build/