[Python-Dev] syntactic support for sets
Greg Wilson
gvwilson at cs.utoronto.ca
Wed Feb 1 22:44:32 CET 2006
> Generator expressions make syntactic support irrelevant:
Not when you're teaching the language to undergraduates: I haven't
actually done the study yet (though I may this summer), but I'm willing to
bet that allowing "math" notation for sets will more than double their
use. (Imagine having to write "list(1, 2, 3, 4, 5)"...)
> Accordingly,Guido rejected the braced notation for set comprehensions.
> See: http://www.python.org/peps/pep-0218.html
"...however, the issue could be revisited for Python 3000 (see PEP 3000)."
So I'm only 1994 years early ;-)
Thanks,
Greg
More information about the Python-Dev
mailing list