]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-139156: Use PyBytesWriter in PyUnicode_EncodeCodePage() (#139259)
authorVictor Stinner <vstinner@python.org>
Wed, 24 Sep 2025 14:39:40 +0000 (16:39 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Sep 2025 14:39:40 +0000 (16:39 +0200)
commitc7b11b754653241a826382ae2321ef5b09b0bc1e
tree81dfa5a058c224139d9e5549227666de33c6828d
parentc9a79a02a8dce6058cfde2916cc4573c2c913faa
gh-139156: Use PyBytesWriter in PyUnicode_EncodeCodePage() (#139259)

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