-
-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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-110812: Isolating Extension Modules HOWTO: List GC-related gotchas #111504
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When you're done making the requested changes, leave the comment: |
@pablogsal, do you think this change would have helped Yury get things right without your help? |
Co-authored-by: Eric Snow <[email protected]>
Yup! This is indeed fantastic. Thank you @ericsnowcurrently and @encukou |
Co-authored-by: Eric Snow <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
…otchas (pythonGH-111504) (cherry picked from commit 985679f) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Eric Snow <[email protected]>
…otchas (pythonGH-111504) (cherry picked from commit 985679f) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Eric Snow <[email protected]>
GH-112147 is a backport of this pull request to the 3.11 branch. |
GH-112148 is a backport of this pull request to the 3.12 branch. |
…gotchas (GH-111504) (GH-112147) gh-110812: Isolating Extension Modules HOWTO: List GC-related gotchas (GH-111504) (cherry picked from commit 985679f) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Eric Snow <[email protected]>
…gotchas (GH-111504) (GH-112148) gh-110812: Isolating Extension Modules HOWTO: List GC-related gotchas (GH-111504) (cherry picked from commit 985679f) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Eric Snow <[email protected]>
…otchas (pythonGH-111504) Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Eric Snow <[email protected]>
…otchas (pythonGH-111504) Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Eric Snow <[email protected]>
Here's more text on how to avoid the GC-related gotchas when defining heap types.
(See also: capi-workgroup/problems#49)
📚 Documentation preview 📚: https://cpython-previews--111504.org.readthedocs.build/