[Python-ideas] Making colons optional?
denis.spir at free.fr
Thu Feb 5 18:10:39 CET 2009
Le Thu, 05 Feb 2009 17:53:46 +0100,
Christian Heimes <lists at cheimes.de> a écrit :
> Yes, the colon is extra noise but it's the kind of good noise that makes
> life more joyful like the noise of rain on a roof. Did you notice that
> I'm using a colon in my regular postings, too? I've used two colons to
> separate my text from the examples. Colon separators are natural to me.
So why not support a PEP to introduce compulsory ';' at the end of all not-compound statements? All your comments and exemples hold both for ordinary statements and block headlines -- or do I miss the point?
> The second example makes it even more obvious:
> if (some() and some_other() or some_more(complex=(True,))
> and a_final_call(egg=(1,2,3))):
Do(some(), some_other(), some_more(complex=(True,)),
and_final_call(egg=(1,2,3,zzzzz=False))); # endof statement is obvious
> Python-ideas mailing list
> Python-ideas at python.org
la vida e estranya
More information about the Python-ideas