[Python-3000] Set literal
Greg Ewing
greg.ewing at canterbury.ac.nz
Sat Feb 2 01:07:26 CET 2008
Nicko van Someren wrote:
> Do we really want set literals at all, given that set(...) exists?
>
> If we are going to have one then, it seems to make sense to have both.
Not necessarily. We don't have dict comprehensions, and
I don't remember there being many complaints about that.
Also, if generator expressions had come first, we
would probably never have gotten list comprehensions.
--
Greg
More information about the Python-3000
mailing list