[Python-Dev] syntactic support for sets
Guido van Rossum
guido at python.org
Mon Feb 6 18:34:42 CET 2006
More information about the Python-Dev mailing list
Mon Feb 6 18:34:42 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 ]
On 2/6/06, Donovan Baarda <abo at minkirri.apana.org.au> wrote: > yeah... the problem is differentiating the empty set from an empty dict. > The only alternative that occured to me was the not-so-nice and > not-backwards-compatible "{:}" for an empty dict and "{}" for an empty > set. How about spelling the empty set as ``set()''? Wouldn't that solve the ambiguity and the backwards compatibility nicely? -- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] syntactic support for sets
- Next message: [Python-Dev] syntactic support for sets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list