<div class="gmail_quote">On Mon, Jan 2, 2012 at 4:27 PM, Nick Coghlan <span dir="ltr"><<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>></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>
<<a href="mailto:raymond.hettinger@gmail.com">raymond.hettinger@gmail.com</a>> wrote:<br>
> Running ``grep -B1 else Objects/*c`` shows that we've happily lived with a<br>
> mixture of styles for a very long time.<br>
> ISTM, our committers have had good instincts about when braces add clarity<br>
> and when they add clutter.<br>
> If Nick pushes through an always-use-braces mandate, A LOT of code will need<br>
> 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'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's true that there are other readings possible, but that'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>