]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-139156: Use PyBytesWriter in UTF-16 encoder (#139233)
authorVictor Stinner <vstinner@python.org>
Mon, 22 Sep 2025 21:36:05 +0000 (23:36 +0200)
committerGitHub <noreply@github.com>
Mon, 22 Sep 2025 21:36:05 +0000 (23:36 +0200)
commitc497694f772763f9e8642603d9f6627675ba64c4
tree978de50f953661ff0b814dbe0ab1fff4ee43a47e
parente578a9e6a5c67c2e400c4743062f1b74873dfa0a
gh-139156: Use PyBytesWriter in UTF-16 encoder (#139233)

Replace PyBytes_FromStringAndSize() and _PyBytes_Resize() with the
PyBytesWriter API.
Objects/unicodeobject.c