On 11/14/06, George Sakkis <[EMAIL PROTECTED]> wrote:
> Given the overly negative reaction to a base iterator type, I withdraw
> the part of my proposal that suggests this type as the base of all
> iterators. Instead I propose a builtin Iter (or even better iter, if
> there is no objection to change iter's current behavior) as an OO
> replacement of the (functional) itertools API.
[snip]
> for k,sub in (Iter(it1)[1:] + Iter(it2)[:5]).groupby(str.lower):
> print k, list(sub)
Why don't you distribute this class as a third-party library for a
while, and see if people use it. If it turns out that everyone loves
the functionality that it provides, then you can lobby for its
inclusion in the standard library.
Steve
--
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
--- Bucky Katt, Get Fuzzy
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com