PEP 350: Codetags
Paul Rubin
http
Mon Sep 26 23:25:41 EDT 2005
Tony Meyer <t-meyer at ihug.co.nz> writes:
> 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'd be ok with compiler warning messages from lines that are too long.
I think it's appropriate to have such messages, if someone took the
trouble to specify a maximum preferred line length in the PEP. There
could be a compile time flag and/or some kind of code pragma to turn
off the warnings.
> 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).
It's ok if the enforcement isn't strict.
More information about the Python-list
mailing list