PEP 350: Codetags

Tony Meyer t-meyer at ihug.co.nz
Mon Sep 26 22:26:39 EDT 2005


On 27/09/2005, at 12:21 PM, Paul Rubin wrote:

> Neil Hodgson <nyamatongwe+thunder at gmail.com> writes:
>
>>     The PEP system allows for the documentation of a convention as an
>> "Informational PEP". Documenting conventions is useful.
>
> If the preferred method of doing something is
> consistent enough that it can be codified as a convention in a PEP, it
> should be implemented in the compiler, so it becomes a language
> feature, not a convention.

Does this mean that you think that PEP 8 (Python Code Style Guide)  
should be enforced by the compiler?  So that (e.g) lines that are too  
long just don't compile?

I really doubt you'll find much agreement for this (the compiler  
should enforce it) position.  The 'fewer conventions are better'  
position might enjoy more support, but doesn't strike me as  
particularly Pythonic (e.g. compare whitespace in Python and C).

=Tony.Meyer




More information about the Python-list mailing list