Skip to content

[3.13] gh-136162: Document encodings package functions (GH-136164)#136453

Merged
malemburg merged 1 commit intopython:3.13from
miss-islington:backport-ffd7f2f-3.13
Jul 9, 2025
Merged

[3.13] gh-136162: Document encodings package functions (GH-136164)#136453
malemburg merged 1 commit intopython:3.13from
miss-islington:backport-ffd7f2f-3.13

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Jul 9, 2025

Closes GH-136162.
(cherry picked from commit ffd7f2f)

Co-authored-by: Stan Ulbrych 89152624+StanFromIreland@users.noreply.github.com


📚 Documentation preview 📚: https://cpython-previews--136453.org.readthedocs.build/

)

Closes pythonGH-136162.
(cherry picked from commit ffd7f2f)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
@bedevere-app bedevere-app bot added the docs Documentation in the Doc dir label Jul 9, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Jul 9, 2025
@malemburg malemburg merged commit 21bcecf into python:3.13 Jul 9, 2025
28 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs 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
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function was added in 3.14, on this branch [3.13] there is private function:

def _alias_mbcs(encoding):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, you're right. This is rather new function.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I opened #136456

@miss-islington miss-islington deleted the backport-ffd7f2f-3.13 branch January 2, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants