Skip to content

gh-130957: Use sleeping_retry in test_free_reference#130958

Merged
colesbury merged 1 commit into
python:mainfrom
colesbury:gh-130957-test-free-reference
Mar 11, 2025
Merged

gh-130957: Use sleeping_retry in test_free_reference#130958
colesbury merged 1 commit into
python:mainfrom
colesbury:gh-130957-test-free-reference

Conversation

@colesbury
Copy link
Copy Markdown
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
Copy Markdown
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
@colesbury colesbury deleted the gh-130957-test-free-reference branch March 11, 2025 13:51
@miss-islington-app
Copy link
Copy Markdown

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 <colesbury@gmail.com>
@bedevere-app
Copy link
Copy Markdown

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 <colesbury@gmail.com>
@bedevere-app
Copy link
Copy Markdown

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 <colesbury@gmail.com>
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 <colesbury@gmail.com>
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