<br><br><div><span class="gmail_quote">On 4/13/07, <b class="gmail_sendername">Josiah Carlson</b> <<a href="mailto:jcarlson@uci.edu">jcarlson@uci.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>"George Sakkis" <<a href="mailto:gsakkis@rutgers.edu">gsakkis@rutgers.edu</a>> wrote:<br>> On 4/13/07, Terry Reedy <<a href="mailto:tjreedy@udel.edu">tjreedy@udel.edu</a>> wrote:<br>> > I personally think there are too many builtins.
<br>><br>> I agree, that's why I don't suggest a new builtin but adding features<br>> to an existing one. In fact, this can even *reduce* the builtins since<br>> map(), zip() and enumerate() could be removed from the builtin
<br>> namespace.<br><br>Map was already going to be removed because it can be replaced by...<br> [f(x) for x in y]<br><br>Filter was already going to be removed because it can be replaced by...<br> [x for x in y if f(x)]
<br><br>I can't remember if anything was going to happen to zip or any of the<br>other functional programming functions.</blockquote><div><br><br>zip is staying but replaced underneath the covers with itertools.izip.<br>
<br>-Brett<br></div><br></div><br>