A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-April/003725.html below:

[Python-Dev] map() methods (was: Re: [Patches] Review (was: Please review before applying))

[Python-Dev] map() methods (was: Re: [Patches] Review (was: Please review before applying)) [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/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4