Message55024
| Author |
collinwinter |
| Recipients |
| Date |
2007年03月19日.19:05:12 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
I can see adding the 1-argument form to operator or functools (as it's useful in functional programming), but the 2-argument form you've suggested is right out. If you really feel the need to torture a "for" loop into a genexp/listcomp like that,
foo = (x for x in bar if condition(x) and [memoize(x)])
does the same thing using today's capabilities. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 16:12:36 | admin | link | issue1673203 messages |
| 2007年08月23日 16:12:36 | admin | create |
|