Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-124771: Add thePYTHON_GC_PRESET
env var.#124772
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
base:main
Are you sure you want to change the base?
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.
The name PYTHON_GC_PRESET was suggested.
Yeah, that's a better name. I've updated the PR. Still need the |
PYTHON_GC_STRAGEGY
env var.PYTHON_GC_PRESET
env var.The PR is a draft. Does it mean that you're not sure if it's a good idea or not? Should it be reviewed or not yet? |
The code is not yet complete (need |
Uh oh!
There was an error while loading.Please reload this page.
This is still a WIP. We need to discuss if this is actually a good idea and what the options should be if it is.
There should be a
gc.set_preset()
function, which is not yet implemented. Also need unit tests for this functionality. The initconfig logic is fairly complex and I'm not sure I did everything correct.📚 Documentation preview 📚:https://cpython-previews--124772.org.readthedocs.build/