[issue16351] Add a function to get GC statistics

Serhiy Storchaka report at bugs.python.org
Sun Oct 28 19:30:53 CET 2012


Serhiy Storchaka added the comment:

Oh, I understand. GC callbacks receive a dict.

For avoid confusion with gc.DEBUG_STATS and to conform with callbacks argument name, may be better to name this function as gc.get_infos([generation])?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16351>
_______________________________________


More information about the Python-bugs-list mailing list