Skip to content

Conversation

@abhinav-upadhyay
Copy link
Contributor

In GH-116206, the comment about moving reachable objects to next generation got moved from its original place to a place where there is no code below it.

This PR puts it back where the actual movement of reachable objects happen to the next generation.

(I don't think this is a cosmetic change. The purpose of the comment is to document the code underneath it. Either the code and comments have to be in sync, or the comments need to be fixed to reflect the current reality. In this case, the comment is not quite at the right place, misleading for anyone new reading it or changing that code.)

In pythonGH-116206, the comment about moving reachable objects to next generation got moved from its original place to a place where there is no code below it. This PR puts it back where the actual movement of rechable objects happen to the next generation.
Copy link
Member

@Eclips4Eclips4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@abhinav-upadhyay
Copy link
ContributorAuthor

Can this be merged, or it requires something more?

@abhinav-upadhyay
Copy link
ContributorAuthor

@markshannon Maybe you need to review this?

@sergey-miryanov
Copy link
Contributor

@nascheme Please take a look. Maybe we have a change to merge this after yours #136189

@Eclips4Eclips4 requested a review from naschemeAugust 7, 2025 18:18
@naschemenascheme enabled auto-merge (squash) August 7, 2025 20:09
@nascheme
Copy link
Member

LGTM. I've enabled auto-merge after resolving the merge conflict.

@naschemenascheme merged commit e3ad900 into python:mainAug 7, 2025
40 checks passed
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
In pythonGH-116206, the comment about moving reachable objects to next generation got moved from its original place to a place where there is no code below it. Put the comment back to where the actual movement of reachable objects happens.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@abhinav-upadhyay@sergey-miryanov@nascheme@Eclips4