[Python-Dev] List comprehension syntax (Features for Python 2.0)

Eric S. Raymond esr@thyrsus.com
Tue, 25 Jul 2000 17:59:37 -0400


Skip Montanaro <skip@mojam.com>:
> It occurred to me a little bit ago to suggest that we just allow complete
> statements within list constructors.  The semantics would be that any
> objects left on the stack at the end of the statements would constitute the
> elements of the list.  Is that too weird?

Not only is it non-weird, I think it is finally pushing in the right direction.
-- 
		<a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a>

Rapists just *love* unarmed women.  And the politicians who disarm them.