]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Use PyBytesWriter in socket and mmap (#138831)
authorVictor Stinner <vstinner@python.org>
Sat, 13 Sep 2025 16:31:26 +0000 (18:31 +0200)
committerGitHub <noreply@github.com>
Sat, 13 Sep 2025 16:31:26 +0000 (18:31 +0200)
commitbb743b684b423c4ec0165a33c13d41fc8009217b
tree349afaa694d4e390953046b6492c84be89a3da49
parent06b7891f12b4b93dd78704cf3fbf520ae4685064
gh-129813, PEP 782: Use PyBytesWriter in socket and mmap (#138831)

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