Skip to content

[3.15] gh-129813: Fix typo in byteswriter_resize() (GH-156938) - #156979

Merged
hugovk merged 1 commit into
python:3.15from
miss-islington:backport-5141621-3.15
Sep 5, 2026
Merged

[3.15] gh-129813: Fix typo in byteswriter_resize() (GH-156938)#156979
hugovk merged 1 commit into
python:3.15from
miss-islington:backport-5141621-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

The intent is to test "resize and overallocate", even if in practice
"resize & overallocate" is the same (both variables are either 0 or
1). Use "&&" to better describe the intent of the test.
(cherry picked from commit 5141621)

Co-authored-by: Victor Stinner vstinner@python.org

The intent is to test "resize and overallocate", even if in practice
"resize & overallocate" is the same (both variables are either 0 or
1). Use "&&" to better describe the intent of the test.
(cherry picked from commit 5141621)

Co-authored-by: Victor Stinner <vstinner@python.org>

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hugovk
hugovk merged commit 4c23df5 into python:3.15 Sep 5, 2026
59 checks passed
@miss-islington
miss-islington deleted the backport-5141621-3.15 branch September 5, 2026 14:53
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.

4 participants