]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Use PyBytesWriter in socket recvmsg() (#139131)
authorVictor Stinner <vstinner@python.org>
Thu, 18 Sep 2025 15:57:04 +0000 (16:57 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Sep 2025 15:57:04 +0000 (17:57 +0200)
commitd641c41c88af7fb05c04ea36065460658311643f
tree08eb4cddf9036b8b4f1fa6c44d6ab02187ef7df6
parente163fbdeda17104f3782afcae557c0211a2ba0a6
gh-129813, PEP 782: Use PyBytesWriter in socket recvmsg() (#139131)

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