PEP8 revised: max line lengths
wxjmfauth at gmail.com
wxjmfauth at gmail.com
Fri Aug 2 11:08:32 EDT 2013
Le vendredi 2 août 2013 13:07:47 UTC+2, Chris “Kwpolska” Warrick a écrit :
> On Fri, Aug 2, 2013 at 2:51 AM, Roy Smith <roy at panix.com> wrote:
>
> > In article <mailman.93.1375386763.1251.python-list at python.org>,
>
> > Terry Reedy <tjreedy at udel.edu> wrote:
>
> >
>
> >> Newly revised this morning:
>
> >> http://www.python.org/dev/peps/pep-0008/#maximum-line-length
>
> >> summary:
>
> >> 72 for text block (comments, triple-quoted strings)
>
> >> 79 for normal code
>
> >> 99 for code that is really more readable with extra
>
> >
>
> > And the people did rejoice and did feast upon the lambs and toads and
>
> > tree-sloths and fruit-bats and orangutans and breakfast cereals.
>
>
>
> The 99-characters rule does not apply for the stdlib. And outside of
>
> the stdlib, PEP 8 is not mandated by Python (but it might be by the
>
> project leader or similar entities). If someone wanted long lines,
>
> then they could do so ALL THE TIME.
>
>
>
> So, what are you feasting for? Nothing?
>
>
>
> --
>
> Chris “Kwpolska” Warrick <http://kwpolska.tk>
>
> PGP: 5EAAEA16
>
> stop html mail | always bottom-post | only UTF-8 makes sense
And do not forget, a monospaced font is never monospaced
(for understandable reasons).
The solely valid solution, assuming there is some wish,
is to define a maximal line width (preferably in SI units ;-)
The day, the devs succeed to think non ascii, is not
arrived.
jmf
PS independently of the CJK stuff.
More information about the Python-list
mailing list