-
-
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
Document the new incremental GC #117759
Comments
* Update what's new * Update gc module docs and fix inconsistency in gc.get_objects
* Update what's new * Update gc module docs and fix inconsistency in gc.get_objects (cherry picked from commit f49a916) Co-authored-by: Mark Shannon <[email protected]>
Please, also modify https://github.com/python/devguide/blob/main/internals/garbage-collector.rst to keep it in sync with the current implementation |
Thanks 🙏 |
For the reader, it is confusing that in 3.13 Also, the document indicates no change to the values returned by (To me it would have made sense to simply change the signatures and return values of all functions that assumed there were three generations, and then document the changes as simply only having two generations now, rather than saying one is removed. If you're already introducing breaking changes in the way something works, then why leave the cruft of extra ignored parameters and undefined or blank return values? But if the goal is some misguided idea of compatibility (even though they fundamentally are not compatible) such that Also, the document speaks in three places of
So it's also confusing when the document equates the thresholds with "frequency" when they are inverse to "frequency":
Related to this issue is #122862. It points out that the running calculation of Also, it is noted that (Actually, the better option would be for |
) (python#123395)" This reverts commit aca6511.
Documentation
Linked PRs
The text was updated successfully, but these errors were encountered: