<div class="gmail_quote">On Mon, Jan 2, 2012 at 4:27 PM, Nick Coghlan <span dir="ltr">&lt;<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Tue, Jan 3, 2012 at 8:32 AM, Raymond Hettinger<br>
&lt;<a href="mailto:raymond.hettinger@gmail.com">raymond.hettinger@gmail.com</a>&gt; wrote:<br>
&gt; Running  ``grep -B1 else Objects/*c`` shows that we&#39;ve happily lived with a<br>
&gt; mixture of styles for a very long time.<br>
&gt; ISTM, our committers have had good instincts about when braces add clarity<br>
&gt; and when they add clutter.<br>
&gt; If Nick pushes through an always-use-braces mandate, A LOT of code will need<br>
&gt; to be changed.<br>
<br>
</div>Nah, I was asking a genuine question, not pushing anything in<br>
particular. I *thought* the code base was more consistent than it is,<br>
but it turns out that was an error of perception on my part, rather<br>
than an objective fact.<br>
<br>
With my perception of the status quo corrected, I can stop worrying<br>
about preserving a non-existent consistency.<br></blockquote></div><br>Amen. And, as the (nominal) author of the PEP, the PEP didn&#39;t mean to state an opinion on whether braces are mandatory. It only meant to state how they should be placed when they are there. It&#39;s true that there are other readings possible, but that&#39;s what I meant. If someone wants to change the wording to clarify this, go right ahead.<br clear="all">

<br>-- <br>--Guido van Rossum (<a href="http://python.org/~guido">python.org/~guido</a>)<br>