[Python-ideas] iter() on steroids

George Sakkis gsakkis at rutgers.edu
Fri Apr 13 22:00:39 CEST 2007

On 4/13/07, Terry Reedy <tjreedy at udel.edu> wrote:
> "George Sakkis" <george.sakkis at gmail.com>
> wrote in message
> news:91ad5bf80704130849y5117321ev475acf240b4f086f at mail.gmail.com...
> | In some sense it's a chicken-and-egg problem. My guess is that one
> | reason itertools are not used as much as they could/should is that
> | they are "hidden away" in a module, which makes one think it twice
> | before importing it (let alone newbies that don't even know its
> | existence). As a single data point, I'm a big fan itertools and still
> | I'm often lazy to import it to use, say izip() only once; I just go
> | with zip() instead.
> I personally think there are too many builtins.

I agree, that's why I don't suggest a new builtin but adding features
to an existing one. In fact, this can even *reduce* the builtins since
map(), zip() and enumerate() could be removed from the builtin


More information about the Python-ideas mailing list