[Python-Dev] List comprehensions

Eric S. Raymond esr@thyrsus.com
Thu, 13 Jul 2000 17:54:29 -0400


Paul Prescod <paul@prescod.net>:
> > Say, wouldn't it make more sense to
> > have these notations generate tuples (which are immutable and
> > could thus be stored as constants) rather than lists ?!
> 
> I think that the notation should create a generator.

I heartily agree.
-- 
		<a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a>

To stay young requires the unceasing cultivation of the ability to
unlearn old falsehoods.
	-- Lazarus Long