Skip to content

[3.15] gh-156995: Fix bytearray.take_bytes() corrupting shared single-byte singletons (GH-156996) - #157260

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

[3.15] gh-156995: Fix bytearray.take_bytes() corrupting shared single-byte singletons (GH-156996)#157260
hugovk merged 1 commit into
python:3.15from
miss-islington:backport-fd569ea-3.15

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

(cherry picked from commit fd569ea)

Co-authored-by: Stan Ulbrych stan@python.org
Co-authored-by: Cody Maloney cmaloney@users.noreply.github.com
Co-authored-by: Victor Stinner vstinner@python.org

…e-byte singletons (pythonGH-156996)

(cherry picked from commit fd569ea94120815b01baf8bcbcf21e8e09102db6)

Co-authored-by: Stan Ulbrych <stan@python.org>
Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
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. IMO the bug is important enough to justify including it in Python 3.15.0 final release. See #156995 for the bug.

@vstinner

Copy link
Copy Markdown
Member

@hugovk: Please include this bugfix in 3.15.0 final release. Its issue has been flagged as release blocker.

@hugovk
hugovk enabled auto-merge (squash) September 10, 2026 10:16
@hugovk
hugovk merged commit 5b8fd66 into python:3.15 Sep 10, 2026
104 of 106 checks passed
@miss-islington
miss-islington deleted the backport-fd569ea-3.15 branch September 10, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants