New syntax for blocks

Steven D'Aprano steven at
Wed Nov 11 04:12:55 CET 2009

On Tue, 10 Nov 2009 12:45:13 -0800, Bearophile wrote:

> r:
>> i think the following syntax would be quite beneficial to replace some
>> redundant "if's" in python code.

I knew it wouldn't take long for people to start responding to any 
proposal with "don't bother, there's a moratorium".

Of course in this case, the correct response would have been "don't 
bother, it's a stupid idea, moratorium or no moratorium".

Hint to would-be language designers: if you start off by claiming that a 
new feature will save an indent level, when in fact it *doesn't* save an 
indent level, you can save yourself from embarrassment by pressing Close 
on your post instead of Send.


More information about the Python-list mailing list