[Python-Dev] Update PEP 7 to require curly braces in C

Alexander Walters tritium-list at sdamon.com
Tue Jan 19 02:25:07 EST 2016



On 1/19/2016 02:21, Larry Hastings wrote:
>
> On 01/18/2016 08:40 PM, Alexander Walters wrote:
>> I am not a core developer, but I just kind of feel its hypocritical 
>> to oppose always using brackets for the development of *python*
>
> CPython isn't written in Python, it's written in C.  So we use C 
> idioms, which naturally are different from Python idioms.
>

Yes, and always using brackets is an accepted C idiom (one of two, the 
other being only use brackets when you must).  Always using them is  
more in line with the spirit of python.

> //arry/
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/tritium-list%40sdamon.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160119/525cd5a3/attachment.html>


More information about the Python-Dev mailing list