]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Add PyBytesWriter.overallocate (#138941)
authorVictor Stinner <vstinner@python.org>
Mon, 15 Sep 2025 22:15:32 +0000 (23:15 +0100)
committerGitHub <noreply@github.com>
Mon, 15 Sep 2025 22:15:32 +0000 (00:15 +0200)
commit4e00e2504fdcf06b5d55a773b31f49b1d3d6d35c
treee8eb14d26c3724789b23e5192ec98415128aca40
parent4554486f156ee399d14a3324a2e214e6527b0b2b
gh-129813, PEP 782: Add PyBytesWriter.overallocate (#138941)

Disable overallocation in _PyBytes_FormatEx() at the last write.
Include/internal/pycore_bytesobject.h
Objects/bytesobject.c