map vs. list-comprehension

Björn Lindström bkhl at stp.ling.uu.se
Wed Jun 29 06:12:38 EDT 2005


"F. Petitjean" <littlejohn.75 at news.free.fr> writes:

> res = [ bb+ii*dd for bb,ii,dd in zip(b,i,d) ]
>
> Hoping that zip will not be deprecated.

Nobody has suggested that. The ones that are planned to be removed are
lambda, reduce, filter and map. Here's GvR's blog posting that explains
the reasons:

http://www.artima.com/weblogs/viewpost.jsp?thread=98196

-- 
Björn Lindström <bkhl at stp.ling.uu.se>
Student of computational linguistics, Uppsala University, Sweden



More information about the Python-list mailing list