[Python-3000] List-Comp style for loops?

Guido van Rossum guido at python.org
Sat Apr 8 05:44:58 CEST 2006


On 4/7/06, Crutcher Dunnavant <crutcher at gmail.com> wrote:
> Basic idea:
>
> [for ... in ...]+ if ...:
>   body
>
> A) it should be syntatically simple to parse.
> B) it establishes a nice symetry with list comprehensions.

Are you in cahoots with the person who posted the first response to my
Artima blog on today? :-)
(http://www.artima.com/forums/flat.jsp?forum=106&thread=155514)

I can't make heads or tails of this. What is it supposed to do? What
is it supposed to replace?

--
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list