]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129813, PEP 782: Set invalid bytes in PyBytesWriter (#139054)
authorVictor Stinner <vstinner@python.org>
Wed, 17 Sep 2025 15:58:32 +0000 (16:58 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Sep 2025 15:58:32 +0000 (17:58 +0200)
commitc72ffe71f1f1ba521bd716d83f76242bdf94ea18
tree8e1a7833b19855576763f2942352df0e8f56db03
parent82e1920a014cbe38bbadce8544b92e6894bc679b
gh-129813, PEP 782: Set invalid bytes in PyBytesWriter (#139054)

Initialize the buffer with 0xFF byte pattern when creating a writer
object, but also when resizing/growing the writer.
Objects/bytesobject.c