This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barry
Recipients barry, benjamin.peterson, davin, lukasz.langa, methane, nascheme, pitrou, rhettinger, tim.peters, vstinner, yselivanov
Date 2017-09-25.19:02:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I like the idea of a gen 4 that never gets collected.  This would have been useful for the original problem that inspired me to add the `generation` argument to `gc.collect()`.  The nice thing about this, is just as you suggest: you could force a collection of gen 4 by `gc.collect(3)`.

It's unfortunate that you'd have to add a bit to handle this, but maybe you're right that we only really need three generations.
Date User Action Args
2017-09-25 19:02:35barrysetrecipients: + barry, tim.peters, nascheme, rhettinger, pitrou, vstinner, benjamin.peterson, methane, lukasz.langa, yselivanov, davin
2017-09-25 19:02:35barrysetmessageid: <>
2017-09-25 19:02:35barrylinkissue31558 messages
2017-09-25 19:02:35barrycreate