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/2004-April/044568.html below:

[Python-Dev] Re: generator expressions

[Python-Dev] Re: generator expressionsBob Ippolito bob at redivi.com
Sat Apr 24 11:02:55 EDT 2004
On Apr 24, 2004, at 10:58 AM, Peter Harris wrote:

> Michael Chermside wrote:
>
>> How do we go about asking
>> people to try it out (is a mention by Guido on comp.lang.python
>> sufficient)?
>>
>> -- Michael Chermside
>>
>>
> I'll play with generator expressions gladly. I have been using list 
> comprehensions like mad, even in cases where I suspect a generator 
> would be better. Also, I have a few uses of generators that might look 
> clearer as generator expressions. So I'd be more than happy to make a 
> test version of my current projects using generator expressions, just 
> to see when they can make the code clearer, and whether there is 
> anything about the semantics that trips me up too easily.
>
> I don't think my data sets are going to be big enough to test 
> performance, just usability.
>
> Now, if someone checks in the implementation of PEP309 too <hint>, I 
> would be as happy as a biscuit...

Well, I'm +1 on PEP309.  I regularly wish I had partial function 
application in Python.  I also plan to experiment with generator 
expressions sooner than later.

-bob


More information about the Python-Dev mailing list

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