Skip to content

[3.15] gh-161098: Unlink the new ShareableList block if packing a value fails (GH-161099) - #161132

Merged
gpshead merged 1 commit into
python:3.15from
gpshead:backport-82d3439-3.15
Nov 1, 2026
Merged

gpshead merged 1 commit into
python:3.15from
gpshead:backport-82d3439-3.15

Conversation

@gpshead

@gpshead gpshead commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

… a value fails (pythonGH-161099)

ShareableList(sequence) created its shared memory block before packing the
values, so an unpackable value (an int outside int64, a lone surrogate)
left the block behind with no way for the caller to release it.

(cherry picked from commit 82d3439)
@gpshead gpshead self-assigned this Nov 1, 2026
@gpshead
gpshead enabled auto-merge (squash) November 1, 2026 20:15
@gpshead
gpshead merged commit a8d10a0 into python:3.15 Nov 1, 2026
56 checks passed
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.

1 participant