[Python-Dev] PEP 7 clarification request: braces

Ned Batchelder ned at nedbatchelder.com
Tue Jan 3 00:08:15 CET 2012


On 1/2/2012 5:32 PM, Raymond Hettinger wrote:
>
> Running  ``grep -B1 else Objects/*c`` shows that we've happily lived 
> with a mixture of styles for a very long time.
> ISTM, our committers have had good instincts about when braces add 
> clarity and when they add clutter.
> If Nick pushes through an always-use-braces mandate, A LOT of code 
> will need to be changed.
>
I'm sure we can agree that 1) Nick isn't "pushing through" anything, 
this is a discussion about what to do, and 2) even if we agree to change 
PEP 7, no one would advocate having to go through all the C code to 
change it to a newly-agreed style.

--Ned.
>
> Raymond
>
>
>
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/ned%40nedbatchelder.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120102/22264f8a/attachment.html>


More information about the Python-Dev mailing list