[issue6021] itertools.grouper
Raymond Hettinger
report at bugs.python.org
Thu May 14 19:13:32 CEST 2009
Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:
This has been rejected before.
* It is not a fundamental itertool primitive. The recipes section in
the docs shows a clean, fast implementation derived from zip_longest().
* There is some debate on a correct API for odd lengths. Some people
want an exception, some want fill-in values, some want truncation, and
some want a partially filled-in tuple. The alone is reason enough not
to set one behavior in stone.
* There is an issue with having too many itertools. The module taken as
a whole becomes more difficult to use as new tools are added.
----------
assignee: -> rhettinger
nosy: +rhettinger
resolution: -> rejected
status: open -> closed
versions: +Python 2.7, Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6021>
_______________________________________
More information about the Python-bugs-list
mailing list