]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Use PyBytesWriter in memoryview (#138836)
authorVictor Stinner <vstinner@python.org>
Sat, 13 Sep 2025 16:36:05 +0000 (18:36 +0200)
committerGitHub <noreply@github.com>
Sat, 13 Sep 2025 16:36:05 +0000 (18:36 +0200)
commit703da5e81db012713228414b02b39d3240dc1d02
tree8a14e827ef464caf7f01b1596920f9dcc916e5cf
parentbb743b684b423c4ec0165a33c13d41fc8009217b
gh-129813, PEP 782: Use PyBytesWriter in memoryview (#138836)

Replace PyBytes_FromStringAndSize(NULL, size) with the new public
PyBytesWriter API.
Objects/memoryobject.c