Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-130957: Use sleeping_retry in test_free_reference #130958

Merged
merged 1 commit into from
Mar 11, 2025

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 bug and 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 bug and 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]>
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