]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Use PyBytesWriter in _codecs.escape_decode() (#138919)
authorVictor Stinner <vstinner@python.org>
Mon, 15 Sep 2025 14:32:43 +0000 (15:32 +0100)
committerGitHub <noreply@github.com>
Mon, 15 Sep 2025 14:32:43 +0000 (16:32 +0200)
commit67cc1cf68a26d931ece3a6790ba914cf8a9b62f8
treef24f898f4a3860d67c2ab558b44fd2e286611dd3
parent21c80cadc840265db533a2bdd07f717716209fde
gh-129813, PEP 782: Use PyBytesWriter in _codecs.escape_decode() (#138919)

Replace PyBytes_FromStringAndSize(NULL, size) and _PyBytes_Resize()
with the new public PyBytesWriter API.
Modules/_codecsmodule.c