[Python-ideas] Making colons optional?

Riobard Zhan yaogzhan at gmail.com
Sun Feb 8 07:47:25 CET 2009

On 6-Feb-09, at 8:41 PM, Mike Meyer wrote:
> That this consistency - ignoring trailing separators in list
> structures - can be misunderstood to be an optional ending separator
> in the degenerate case of a single statement is a good indication of
> why consistency isn't a trump property.

This is a very strange view of consistency to me. How many different  
kinds of list separators do we have? I can only think of semicolons  
and commas. I don't think semicolons are anything like commas. Non- 
trailing semicolons can be omitted, while non-trailing commas cannot,  
even if you put each item of [1,2,3] in separate lines.

If you don't think consistency counts (at least in this case), I  
cannot argue with you---that's waaay off topic. 

More information about the Python-ideas mailing list