Skip to content

Conversation

@colesbury
Copy link
Contributor

@colesbury colesbury commented Mar 7, 2025

The weak reference may not be immediately dead.

The weak reference may not be immediately dead.
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM.

I managed to reproduce the issue using #130957 (comment) patch. I confirm that this change fix the issue.

@colesbury colesbury added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Mar 11, 2025
@colesbury colesbury merged commit 1908115 into python:main Mar 11, 2025
52 checks passed
@colesbury colesbury deleted the gh-130957-test-free-reference branch March 11, 2025 13:51
@miss-islington-app
Copy link

Thanks @colesbury for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 11, 2025
…nGH-130958)

The weak reference may not be immediately dead.
(cherry picked from commit 1908115)

Co-authored-by: Sam Gross <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Mar 11, 2025

GH-131091 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Mar 11, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 11, 2025
…nGH-130958)

The weak reference may not be immediately dead.
(cherry picked from commit 1908115)

Co-authored-by: Sam Gross <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Mar 11, 2025

GH-131092 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Mar 11, 2025
colesbury added a commit that referenced this pull request Mar 11, 2025
…30958) (#131092)

The weak reference may not be immediately dead.
(cherry picked from commit 1908115)

Co-authored-by: Sam Gross <[email protected]>
colesbury added a commit that referenced this pull request Mar 11, 2025
…30958) (#131091)

The weak reference may not be immediately dead.
(cherry picked from commit 1908115)

Co-authored-by: Sam Gross <[email protected]>
seehwan pushed a commit to seehwan/cpython that referenced this pull request Apr 16, 2025
…n#130958)

The weak reference may not be immediately dead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants