Skip to content

Conversation

@markshannon
Copy link
Member

@markshannonmarkshannon commented Aug 23, 2024

This PR updates the docs for what's new in 3.13 and updates the docs for the GC module.

It also includes a small behavioral change to gc.get_objects() to make it more consistent with the result of the gc module API and consistent with incremental collection:

gc.get_objects(1) now returns no objects.
gc_get_objects(2) now returns all objects in the old generation.


📚 Documentation preview 📚: https://cpython-previews--123266.org.readthedocs.build/

@bedevere-app
Copy link

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

markshannonand others added 2 commits August 23, 2024 17:03
Co-authored-by: Michael Droettboom <mdboom@gmail.com>
@markshannon
Copy link
MemberAuthor

I have made the requested changes; please review again

@bedevere-app
Copy link

Thanks for making the requested changes!

@mdboom: please review the changes made to this pull request.

@bedevere-appbedevere-appbot requested a review from mdboomAugust 27, 2024 09:37
@miss-islington-app
Copy link

Thanks @markshannon for the PR 🌮🎉.. 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 Aug 27, 2024
* 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 <mark@hotpy.org>
@bedevere-app
Copy link

GH-123395 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 Aug 27, 2024
Yhg1s pushed a commit that referenced this pull request Sep 2, 2024
GH-117759: Document incremental GC (GH-123266) * 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 <mark@hotpy.org>
Yhg1s added a commit to Yhg1s/cpython that referenced this pull request Sep 29, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@markshannon@mdboom