Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
gh-110812: Isolating Extension Modules HOWTO: List GC-related gotchas#111504
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
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.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
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 <ericsnowcurrently@gmail.com>
Yup! This is indeed fantastic. Thank you@ericsnowcurrently and@encukou |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
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 commit985679f)Co-authored-by: Petr Viktorin <encukou@gmail.com>Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
…otchas (pythonGH-111504)(cherry picked from commit985679f)Co-authored-by: Petr Viktorin <encukou@gmail.com>Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
GH-112147 is a backport of this pull request to the3.11 branch. |
GH-112148 is a backport of this pull request to the3.12 branch. |
…gotchas (GH-111504) (GH-112147)gh-110812: Isolating Extension Modules HOWTO: List GC-related gotchas (GH-111504)(cherry picked from commit985679f)Co-authored-by: Petr Viktorin <encukou@gmail.com>Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
…gotchas (GH-111504) (GH-112148)gh-110812: Isolating Extension Modules HOWTO: List GC-related gotchas (GH-111504)(cherry picked from commit985679f)Co-authored-by: Petr Viktorin <encukou@gmail.com>Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
…otchas (pythonGH-111504)Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
…otchas (pythonGH-111504)Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Uh oh!
There was an error while loading.Please reload this page.
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/