Skip to content

gh-129813, PEP 782: Set invalid bytes in PyBytesWriter - #139054

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:pybyteswriter_invalid
Sep 17, 2025
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:pybyteswriter_invalid

Conversation

@vstinner

@vstinner vstinner commented Sep 17, 2025 •

Copy link
Copy Markdown
Member

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

Initialize the buffer with 0xFF byte pattern when creating a writer
object, but also when resizing/growing the writer.
@vstinner
vstinner merged commit c72ffe7 into python:main Sep 17, 2025
@vstinner
vstinner deleted the pybyteswriter_invalid branch September 17, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant