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-110178: Use fewer weakrefs in test_typing.py #110194

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

JelleZijlstra
Copy link
Member

@JelleZijlstra JelleZijlstra commented Oct 1, 2023

Confirmed that without the C changes from #108517, this test still segfaults with only 10 weakrefs.

Confirmed that without the C changes from python#108517, this test still segfaults with only 10 weakrefs.
Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

Thanks! I have not verified that it still segfaults with only 10 weakrefs without the fix, but I trust you to have checked properly :D

@JelleZijlstra JelleZijlstra merged commit 732ad44 into python:main Oct 2, 2023
@miss-islington
Copy link
Contributor

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

@JelleZijlstra JelleZijlstra deleted the lessweak branch October 2, 2023 15:03
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 2, 2023
Confirmed that without the C changes from pythonGH-108517, this test still segfaults with only 10 weakrefs.
(cherry picked from commit 732ad44)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Oct 2, 2023

GH-110224 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 Oct 2, 2023
AlexWaygood pushed a commit that referenced this pull request Oct 2, 2023
…110224)

gh-110178: Use fewer weakrefs in test_typing.py (GH-110194)

Confirmed that without the C changes from GH-108517, this test still segfaults with only 10 weakrefs.
(cherry picked from commit 732ad44)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Confirmed that without the C changes from python#108517, this test still segfaults with only 10 weakrefs.
@JelleZijlstra JelleZijlstra restored the lessweak branch September 10, 2024 23:37
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.

3 participants