Skip to content

Conversation

@ZeroIntensity
Copy link
Member

@ZeroIntensityZeroIntensity commented Sep 25, 2024

@Yhg1sYhg1s added the needs backport to 3.13 bugs and security fixes label Sep 25, 2024
Copy link
Member

@JelleZijlstraJelleZijlstra left a comment

Choose a reason for hiding this comment

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

cc @vstinner who implemented this in #108417.

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

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

LGTM


@cpython_only
deftest_get_referents_on_capsule(self):
# See GH-124538
Copy link
Member

Choose a reason for hiding this comment

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

Would you mind to elaborate?

Co-authored-by: Victor Stinner <vstinner@python.org>
@vstinnervstinner merged commit f923605 into python:mainSep 26, 2024
@miss-islington-app
Copy link

Thanks @ZeroIntensity for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 26, 2024
…ked capsule object (pythonGH-124559) (cherry picked from commit f923605) Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
@bedevere-app
Copy link

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

@bedevere-appbedevere-appbot removed the needs backport to 3.13 bugs and security fixes label Sep 26, 2024
@vstinner
Copy link
Member

Merged, thanks.

Yhg1s pushed a commit that referenced this pull request Sep 26, 2024
…cked capsule object (GH-124559) (#124588) gh-124538: Fix crash when using `gc.get_referents` on an untracked capsule object (GH-124559) (cherry picked from commit f923605) Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
@ZeroIntensityZeroIntensity deleted the fix-capsule-traverse branch October 24, 2024 22:28
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@ZeroIntensity@vstinner@JelleZijlstra@Yhg1s