Serhiy Storchaka added the comment:

> Because it's much simpler like that.

Well, I wrote a patch with structure sequences, it is really much more 
expansive.

I have some comments.

1. You can allocate list of NUM_GENERATIONS elements and then use 
PyList_SET_ITEM(result, i, stat). This is 4 lines shorter.

2. And may be return the tuple? get_count() and get_threshold() return tuples.

3. You forgot to add get_stats() to the module docstring.

----------

_______________________________________
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