]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Use PyBytesWriter in lzma and zlib (#138832)
authorVictor Stinner <vstinner@python.org>
Sat, 13 Sep 2025 17:27:04 +0000 (19:27 +0200)
committerGitHub <noreply@github.com>
Sat, 13 Sep 2025 17:27:04 +0000 (19:27 +0200)
commit7168e98c80d28ab71f3927c6a60bf7154691f965
tree35bdd1f966b097e857c08c91da962fa4804651fd
parent430900d15b3d3abb5c6460fbdbf90f4d6561397d
gh-129813, PEP 782: Use PyBytesWriter in lzma and zlib (#138832)

Replace PyBytes_FromStringAndSize(NULL, size) with the new public
PyBytesWriter API.
Modules/_lzmamodule.c
Modules/zlibmodule.c