]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Use PyBytesWriter in ssl.MemoryBIO (#139113)
authorVictor Stinner <vstinner@python.org>
Thu, 18 Sep 2025 12:25:31 +0000 (13:25 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Sep 2025 12:25:31 +0000 (14:25 +0200)
commitd6a6fe2a5b83a4429ffb63b916a8062adb015e06
tree36b92c9bada20a1d31b786a21b0781762b8db886
parent89ff88be89328964dbc50a474a84c566fe920b46
gh-129813, PEP 782: Use PyBytesWriter in ssl.MemoryBIO (#139113)

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