Please comment on Draft PEP for Enhanced Generators
aahz at panix.com
Wed Feb 6 08:56:26 EST 2002
In article <a38c1u$945$1 at bob.news.rcn.net>,
Raymond Hettinger <othello at javanet.com> 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 pobox.com)
Hugs and backrubs -- I break Rule 6 http://www.rahul.net/aahz/
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