]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Use PyBytesWriter in _Py_bytes_maketrans() (#139044)
authorVictor Stinner <vstinner@python.org>
Wed, 17 Sep 2025 15:43:30 +0000 (16:43 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Sep 2025 15:43:30 +0000 (17:43 +0200)
commit263242613f1d81214dd0334b159f35854e72986a
treef3482b1ca4c4b596fccc3f0f2309be8c09d93cdf
parentdd0840bf67e194ab64f340b8a7fbda24cb25e177
gh-129813, PEP 782: Use PyBytesWriter in _Py_bytes_maketrans() (#139044)

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