]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-139353: Add Objects/unicode_writer.c file (#139911)
authorVictor Stinner <vstinner@python.org>
Thu, 30 Oct 2025 13:36:15 +0000 (14:36 +0100)
committerGitHub <noreply@github.com>
Thu, 30 Oct 2025 13:36:15 +0000 (14:36 +0100)
commitefc37ba49eef07dad83698cf8e68820c955aacf9
treebb69d29c2292bd8a0db9b61b44f402217be2c85d
parent75a1cbdd38b142b359849eae16a2ecc12f6b3881
gh-139353: Add Objects/unicode_writer.c file (#139911)

Move the public PyUnicodeWriter API and the private _PyUnicodeWriter
API to a new Objects/unicode_writer.c file.

Rename a few helper functions to share them between unicodeobject.c
and unicode_writer.c, such as resize_compact() or unicode_result().
Include/internal/pycore_unicodeobject.h
Makefile.pre.in
Objects/unicode_writer.c [new file with mode: 0644]
Objects/unicodeobject.c
PCbuild/_freeze_module.vcxproj
PCbuild/_freeze_module.vcxproj.filters
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters