Making string-formatting smarter by handling generators?

D'Arcy J.M. Cain darcy at druid.net
Wed Feb 27 17:49:29 EST 2008


On Wed, 27 Feb 2008 13:06:27 -0800 (PST)
Arnaud Delobelle <arnodel at googlemail.com> wrote:
> On Feb 27, 5:25 pm, "D'Arcy J.M. Cain" <da... at druid.net> wrote:
> > Isn't map() deprecated?  The above can be done with; 
> I don't think that map() is deprecated.  In python 3.0 it is still
> present, only it returns an iterator instead of a list.

Discouraged then?  Our benign dictator has said that filter and map
must die.  Others suggest that map is not as efficient.

-- 
D'Arcy J.M. Cain <darcy at druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.



More information about the Python-list mailing list