Please comment on Draft PEP for Enhanced Generators

Aahz Maruch aahz at
Wed Feb 6 08:56:26 EST 2002

In article <a38c1u$945$1 at>,
Raymond Hettinger <othello at> wrote:
>I have written a draft PEP summarizing proposed enhancements to generators:

I don't like xmap() returning a list.  It should return an iterator in
all cases.  Or am I just making the mistak of reading your docstring
instead of your code?
                      --- Aahz  <*>  (Copyright 2002 by aahz at

Hugs and backrubs -- I break Rule 6       
Androgynous poly kinky vanilla queer het Pythonista

"We should forget about small efficiencies, about 97% of the time.
Premature optimization is the root of all evil."  --Knuth

More information about the Python-list mailing list