[Python-Dev] PEP 289 - Generator Expressions (original) (raw)
[Python-Dev] PEP 289 - Generator Expressions - Let's Move Forward
Delaney, Timothy C (Timothy) tdelaney at avaya.com
Mon May 3 17:56:42 EDT 2004
- Previous message: [Python-Dev] PEP 289 - Generator Expressions - Let's Move Forward
- Next message: [Python-Dev] PEP 289 - Generator Expressions - Let's Move Forward
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Tim Peters wrote:
# add a filter over the current pipe, and call that the new pipe pipe = (e for e in pipe if p(e))
This is a fairly convincing argument to me - that is something I do all the time with listcomps. Saves having to invent extra names.
Tim Delaney
- Previous message: [Python-Dev] PEP 289 - Generator Expressions - Let's Move Forward
- Next message: [Python-Dev] PEP 289 - Generator Expressions - Let's Move Forward
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]