Skip to content

gh-158585: Adjust _PyBytes_FormatEx() allocation - #158823

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:bytes_format
Oct 5, 2026
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:bytes_format

Conversation

@vstinner

@vstinner vstinner commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Count properly the number of preallocated bytes when growing the buffer.

Count properly the number of preallocated bytes when growing the
buffer.
@vstinner
vstinner enabled auto-merge (squash) October 5, 2026 02:47
@vstinner
vstinner merged commit 182f323 into python:main Oct 5, 2026
55 of 56 checks passed
@vstinner
vstinner deleted the bytes_format branch October 5, 2026 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant