]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Use PyBytesWriter in posix extension (#138829)
authorVictor Stinner <vstinner@python.org>
Sat, 13 Sep 2025 16:57:46 +0000 (18:57 +0200)
committerGitHub <noreply@github.com>
Sat, 13 Sep 2025 16:57:46 +0000 (18:57 +0200)
commitaf386fd36151b4ff94d04002dc8fa7462d83633e
tree09132e0135951e539369ad3450fb2b33f68c3a2e
parent703da5e81db012713228414b02b39d3240dc1d02
gh-129813, PEP 782: Use PyBytesWriter in posix extension (#138829)

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