]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Use PyBytesWriter in _ssl (#138929)
authorVictor Stinner <vstinner@python.org>
Thu, 18 Sep 2025 14:54:18 +0000 (15:54 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Sep 2025 14:54:18 +0000 (16:54 +0200)
commit446587c58eb60b9484b0cef4d533a3191b85f312
tree3725802f00be1749786a0dd16ccad086b2212e7a
parentb0a8073f1b31aa0f49dca9ec49a78e5e9060c7d2
gh-129813, PEP 782: Use PyBytesWriter in _ssl (#138929)

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