[Python-Dev] PEP 7 clarification request: braces (original) (raw)

Larry Hastings larry at hastings.org
Mon Jan 2 22:50:32 CET 2012


On 01/02/2012 12:47 AM, Raymond Hettinger wrote:

Really? Do we need to have a brace war? People have different preferences. The standard library includes some of both styles depending on what the maintainer thought was cleanest to their eyes in a given context.

I'm with Raymond. Code should be readable, and code reviews are the best way to achieve that--not endlessly specific formatting rules.

Have there been bugs in CPython that the proposed new PEP 7 rule would have prevented?

/arry



More information about the Python-Dev mailing list