homepage

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 pitrou
Recipients benjamin.peterson, gregory.p.smith, pitrou
Date 2012年10月28日.17:30:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351445420.88.0.605881847233.issue16351@psf.upfronthosting.co.za>
In-reply-to
Content
This patch adds a function named gc.get_stats() which returns a list of dictionaries containing per-generation statistics:
>>> import pprint, gc
>>> pprint.pprint(gc.get_stats())
[{'collected': 0, 'collections': 12, 'uncollectable': 0},
 {'collected': 0, 'collections': 1, 'uncollectable': 0},
 {'collected': 0, 'collections': 0, 'uncollectable': 0}]
History
Date User Action Args
2012年10月28日 17:30:21pitrousetrecipients: + pitrou, gregory.p.smith, benjamin.peterson
2012年10月28日 17:30:20pitrousetmessageid: <1351445420.88.0.605881847233.issue16351@psf.upfronthosting.co.za>
2012年10月28日 17:30:20pitroulinkissue16351 messages
2012年10月28日 17:30:20pitroucreate

AltStyle によって変換されたページ (->オリジナル) /