Antoine Pitrou added the comment:

> Why dictionaries and not struct sequences?

Because it's much simpler like that.

> 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])?

Well, this is really about statistics, not general information.
Furthermore, it is not related to the callbacks functionality.
As for the generation parameter, I don't think it's useful: the result
list is only 3 elements long.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16351>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to