]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-139156: Use PyBytesWriter in the UTF-7 encoder (#139248)
authorVictor Stinner <vstinner@python.org>
Mon, 22 Sep 2025 20:49:25 +0000 (22:49 +0200)
committerGitHub <noreply@github.com>
Mon, 22 Sep 2025 20:49:25 +0000 (22:49 +0200)
commitc863349f983673bdc9c94c9980e8e6122d36d48a
tree9c3164901f3702ac2df6b2538c29f7b3a12103c2
parent92ba2c92c47f913bc50120f58f005b8ca16f935e
gh-139156: Use PyBytesWriter in the UTF-7 encoder (#139248)

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