]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-139156: Use PyBytesWriter in UTF-32 encoder (#139157)
authorVictor Stinner <vstinner@python.org>
Mon, 22 Sep 2025 20:05:35 +0000 (22:05 +0200)
committerGitHub <noreply@github.com>
Mon, 22 Sep 2025 20:05:35 +0000 (20:05 +0000)
commit92ba2c92c47f913bc50120f58f005b8ca16f935e
tree22820ca69611daea4b7e36ad9f6f0c780f17a1d9
parentf0d8583303d28a5312e4096a3d013ab7fd9be560
gh-139156: Use PyBytesWriter in UTF-32 encoder (#139157)

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