builtin set literal

Steven Bethard steven.bethard at gmail.com
Wed Feb 21 14:31:52 EST 2007


bearophileHUGS at lycos.com wrote:
> Steven Bethard:
>> take a look at the current state of tuples:
>>    1, 2
>>    1,
>>    ()
> 
> That's not a good situation. I presume the situation/syntax of tuples
> in Python 2.x can't be improved. But can it be improved for Py 3.0?

I'm not really losing any sleep over the current tuple syntax. ;-) The 
empty tuple is so uncommon in my code that the fact that it's spelled 
differently just doesn't bother me.

And anyway, if I've learned anything from the Python community over the 
years, it's that syntax is best left to Guido. ;-)

STeVe



More information about the Python-list mailing list