Fix obsolete comments in gc.c · Issue #137562 · python/cpython · GitHub
Skip to content

Fix obsolete comments in gc.c #137562

Description

@sergey-miryanov

1

gc.c/subtract_refs references an obsolete constant GC_REACHABLE

cpython/Python/gc.c

Lines 572 to 577 in 34d7351

It is obsolete since #7043

2

gc.c/SCAN_RATE_DIVISOR has obsolete comment about calculating incremental threshold based on count of survivors. It is obsolete since #117120

cpython/Python/gc.c

Lines 1345 to 1362 in 34d7351

3

Reference #135552 instead of #91636 when writing about deallocated objects in the type cache.

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions