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

Glenn Linderman v+python at g.nevcal.com
Tue Jan 19 01:04:55 EST 2016


On 1/18/2016 9:16 PM, Greg Ewing wrote:
> 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*
>
> If we were being *really* pythonic, we would write all
> the C code without any braces at all, and feed it through
> a filter that adds them based on indentation. End of
> argument. :-)
>

No argument, an extension:  If we were being *really* pythonic, we would 
re-implement CPython in Python, with a Python-to-C option (Cython?), and 
then we wouldn't need to worry about using braces for block delimiters.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20160118/93eb3bc1/attachment.html>


More information about the Python-Dev mailing list