[Python-Dev] map() methods (was: Re: [Patches] Review (was: Please review before applying))
Guido van Rossum
guido@python.org
Mon, 24 Apr 2000 21:21:42 -0400
> > Maybe Python 3000 should recognize map(lambda) and generate more
> > efficient code for it...
>
> [s.strip() for s in L]
>
> That is, list comprehensions solved the speed, generality and clarity
> problems here before they were discovered <wink>.
Ah! I knew there had to be a solution without lambda! :-)
--Guido van Rossum (home page: http://www.python.org/~guido/)