]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Use PyBytesWriter in _socket (#139097)
authorVictor Stinner <vstinner@python.org>
Thu, 18 Sep 2025 09:20:56 +0000 (10:20 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Sep 2025 09:20:56 +0000 (11:20 +0200)
commit4263bc3b3b23b90a9cff62f1b042d98e76e707f2
treecccbf1b09b5cd7678ca4cb811eee41d31ed9f357
parent3b8325736608b246efb18dad5626766dde276e13
gh-129813, PEP 782: Use PyBytesWriter in _socket (#139097)

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