Skip to content

[3.14] gh-159431: Handle immortal objects in _PyObject_XDecRefDelayed() (GH-159433) - #160228

Merged
kumaraditya303 merged 1 commit into
python:3.14from
kumaraditya303:backport-b70a512-3.14
Oct 22, 2026
Merged

kumaraditya303 merged 1 commit into
python:3.14from
kumaraditya303:backport-b70a512-3.14

Conversation

@kumaraditya303

@kumaraditya303 kumaraditya303 commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Skip immortal objects both when queueing and when processing the queue, and remove the now redundant caller-side checks.

(cherry picked from commit b70a512)

…elayed() (pythonGH-159433)

Skip immortal objects both when queueing and when processing the
queue, and remove the now redundant caller-side checks.

(cherry picked from commit b70a512)

Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
@bedevere-app bedevere-app Bot added topic-free-threading type-bug An unexpected behavior, bug, or error labels Oct 22, 2026
@kumaraditya303
kumaraditya303 enabled auto-merge (squash) October 22, 2026 09:05
@kumaraditya303
kumaraditya303 merged commit da0ec8c into python:3.14 Oct 22, 2026
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-free-threading type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant