-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
Misleading gc docs #142115
Copy link
Copy link
Closed as not planned
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
Projects
Status
Todo
Documentation
According to gc documentation Python 3.14 and beyond has only 2 generations:
Changed in version 3.14: Generation 1 is removedHowever, in gc.set_threshold() we ignore the threshold2:
Changed in version 3.14: threshold2 is ignoredWouldn't it be clearer to connect the threshold and generation numbers?(And maybe rewrite the set_threshold function, if we have only two generations)