]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-128863: Deprecate the private _PyUnicodeWriter API (#129245)
authorVictor Stinner <vstinner@python.org>
Thu, 20 Feb 2025 13:02:02 +0000 (14:02 +0100)
committerGitHub <noreply@github.com>
Thu, 20 Feb 2025 13:02:02 +0000 (14:02 +0100)
commit519c2c6740178831125359babbfe288cee4c25e0
tree38f5dfe50a3a7d7226430f43eb58fb346b2d605d
parent3bda821a83dfc660eba09718845ff92ef9e274c7
gh-128863: Deprecate the private _PyUnicodeWriter API (#129245)

Deprecate private C API functions:

* _PyUnicodeWriter_Init()
* _PyUnicodeWriter_Finish()
* _PyUnicodeWriter_Dealloc()
* _PyUnicodeWriter_WriteChar()
* _PyUnicodeWriter_WriteStr()
* _PyUnicodeWriter_WriteSubstring()
* _PyUnicodeWriter_WriteASCIIString()
* _PyUnicodeWriter_WriteLatin1String()

These functions are not deprecated in the internal C API (if the
Py_BUILD_CORE macro is defined).
Doc/deprecations/c-api-pending-removal-in-3.18.rst
Doc/whatsnew/3.14.rst
Include/cpython/unicodeobject.h
Misc/NEWS.d/next/C_API/2025-02-19-14-41-26.gh-issue-128863.TELwyV.rst [new file with mode: 0644]