Author lieryan
Recipients lieryan, rhettinger
Date 2009-05-14.18:20:49
SpamBayes Score 7.71799e-12
Marked as misclassified No
Message-id <1242325252.64.0.220898619595.issue6021@psf.upfronthosting.co.za>
In-reply-to
Content
All implementations relying on zip or zip_longest breaks with infinite
iterable (e.g. itertools.count()).

And it is not impossible to define a clean, flexible, and familiar API
which will be similar to open()'s mode or unicode error mode. The modes
would be 'error' (default), 'pad', 'truncate', and 'partial' (maybe
should suggest a better name than 'partial')

> 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.

It should also be weighed that a lot of people are expecting for this
kind of function in itertools. I think there are other functions in
itertools that have more questionable value than groupers, such as starmap.
History
Date User Action Args
2009-05-14 18:20:53lieryansetrecipients: + lieryan, rhettinger
2009-05-14 18:20:52lieryansetmessageid: <1242325252.64.0.220898619595.issue6021@psf.upfronthosting.co.za>
2009-05-14 18:20:50lieryanlinkissue6021 messages
2009-05-14 18:20:50lieryancreate