]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Use PyBytesWriter in _sha3 (#138923)
authorVictor Stinner <vstinner@python.org>
Mon, 15 Sep 2025 20:53:03 +0000 (21:53 +0100)
committerGitHub <noreply@github.com>
Mon, 15 Sep 2025 20:53:03 +0000 (22:53 +0200)
commitf62b495f792b579f610a7fbf93c8e4c53ccf1369
tree8d73612564aa7e97dfd0c787a2b1c777c6b1dc94
parent71defb69438ce13708d8f9a73756d2073e0b2081
gh-129813, PEP 782: Use PyBytesWriter in _sha3 (#138923)

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