On Friday, February 8, 2013 11:01:00 PM UTC-6, Chris Angelico wrote:
> [...]
> Another advantage of using two characters: There's no conflict between
> set and dict literals. How do you notate an empty set in Python? {}
> means an empty dict.

What makes you believe that a language must provide literal syntax for EACH and 
EVERY type? And BTW, if you don't already know, this is how you notate an empty 
set in Python:

py> set([])
set([])

IMO "Set Types" should only exists as a concequence of "freezing" an array, and 
should have NO literal syntax avaiable.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to