]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Use PyBytesWriter in _hashopenssl (#138922)
authorVictor Stinner <vstinner@python.org>
Mon, 15 Sep 2025 16:41:43 +0000 (17:41 +0100)
committerGitHub <noreply@github.com>
Mon, 15 Sep 2025 16:41:43 +0000 (18:41 +0200)
commita68efdf09cfd81c64973d346ed34057f20172543
treeeb7f265934e697a7ef40f170b2ab64d2701d8834
parent29d026f93e14cc9bf5c17ac195ab0ec7708eaf57
gh-129813, PEP 782: Use PyBytesWriter in _hashopenssl (#138922)

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