summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C API
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-06-17 15:10:52 (GMT)
committerGitHub <noreply@github.com>2024-06-17 15:10:52 (GMT)
commit5c4235cd8ce00852cfcb2d3a2cb4c66c6c53c4bf (patch)
tree725bd5f7c416c37c286afde73e488bb2896a910b /Misc/NEWS.d/next/C API
parent2c7209a3bdf81a289ccd6b80a77497cfcd5732de (diff)
downloadcpython-5c4235cd8ce00852cfcb2d3a2cb4c66c6c53c4bf.zip
cpython-5c4235cd8ce00852cfcb2d3a2cb4c66c6c53c4bf.tar.gz
cpython-5c4235cd8ce00852cfcb2d3a2cb4c66c6c53c4bf.tar.bz2
gh-119182: Add PyUnicodeWriter C API (#119184)
Diffstat (limited to 'Misc/NEWS.d/next/C API')
-rw-r--r--Misc/NEWS.d/next/C API/2024-06-07-22-12-30.gh-issue-119182.yt8Ar7.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2024-06-07-22-12-30.gh-issue-119182.yt8Ar7.rst b/Misc/NEWS.d/next/C API/2024-06-07-22-12-30.gh-issue-119182.yt8Ar7.rst
new file mode 100644
index 0000000..3d1384c
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2024-06-07-22-12-30.gh-issue-119182.yt8Ar7.rst
@@ -0,0 +1,13 @@
+Add a new :c:type:`PyUnicodeWriter` API to create a Python :class:`str` object:
+
+* :c:func:`PyUnicodeWriter_Create`.
+* :c:func:`PyUnicodeWriter_Discard`.
+* :c:func:`PyUnicodeWriter_Finish`.
+* :c:func:`PyUnicodeWriter_WriteChar`.
+* :c:func:`PyUnicodeWriter_WriteUTF8`.
+* :c:func:`PyUnicodeWriter_WriteStr`.
+* :c:func:`PyUnicodeWriter_WriteRepr`.
+* :c:func:`PyUnicodeWriter_WriteSubstring`.
+* :c:func:`PyUnicodeWriter_Format`.
+
+Patch by Victor Stinner.