[Python-Dev] syntactic support for sets (original) (raw)
Greg Wilson gvwilson at cs.utoronto.ca
Wed Feb 1 22:44:32 CET 2006
- Previous message: [Python-Dev] syntactic support for sets
- Next message: [Python-Dev] syntactic support for sets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] syntactic support for sets
- Next message: [Python-Dev] syntactic support for sets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]