Visitar URL original
Move the comment to the right place where it used to be by abhinav-upadhyay · Pull Request #119085 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into move-comment
  • Loading branch information
nascheme authored Aug 7, 2025
commit c396bf35e411d43bf2fca29b18f0e9b49e704d4e
10 changes: 3 additions & 7 deletions Python/gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1709,13 +1709,9 @@ gc_collect_region(PyThreadState *tstate,
gc_list_init(&unreachable);
deduce_unreachable(from, &unreachable);
validate_consistent_old_space(from);
if (untrack & UNTRACK_TUPLES) {
untrack_tuples(from);
}
if (untrack & UNTRACK_DICTS) {
untrack_dicts(from);
}
/* Move reachable objects to next generation. */
untrack_tuples(from);

/* Move reachable objects to next generation. */
validate_consistent_old_space(to);
if (from != to) {
gc_list_merge(from, to);
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.