[issue8609] itertools: problem with nested groupby, list()

Mark Dickinson report at bugs.python.org
Tue May 4 11:58:49 CEST 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

You'd be better off asking this on the python mailing list http://mail.python.org/mailman/listinfo/python-list (or in some other forum);  this tracker is for reporting bugs in Python itself, not bugs in code written in Python.

[The problem you're encountering here is that you can only iterate over the return of itertools.groupby once.  That's by design, though:  it's not a Python bug.]

----------
nosy: +mark.dickinson
resolution:  -> invalid
status: open -> closed

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


More information about the Python-bugs-list mailing list