PEP 8 : Maximum line Length :

Chris Angelico rosuav at gmail.com
Thu May 15 10:24:20 EDT 2014


On Fri, May 16, 2014 at 12:12 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
> A definitive Python source file could be binary, XML, .py, .ast,
> whatever, and that would also be the file fed to the Python
> compiler/interpreter. However, your editor could choose freely how to
> present it to you.
>
> IOW, shouldn't PEP8 be redundant?

I believe the Python interpreter happily accepts a zip file, which in
theory could be edited directly by a competent text editor. But that
has nothing to do with PEP 8. Compare a classic compiled language like
C - you have the bit you edit (the C source code) and the "definitive
version" that's fed to the program loader (the compiled binary). Style
guides apply to the edited version, not to the executed version.

ChrisA



More information about the Python-list mailing list