[Python-Dev] [Python-checkins] r60919 - peps/trunk/pep-0008.txt
Barry Warsaw
barry at python.org
Sat Feb 23 00:47:19 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Feb 22, 2008, at 11:28 AM, Guido van Rossum wrote:
> On Fri, Feb 22, 2008 at 8:20 AM, Aahz <aahz at pythoncraft.com> wrote:
>> On Fri, Feb 22, 2008, skip at pobox.com wrote:
>>>
>>>
>>>>> Why not just skip the specifics except to say < 80 characters
>>>>> for all
>>>>> lines? Don't mention 72, 79 or any other number than 80:
>>>
>>> Amaury> I often run "svn diff" in a console limited to 80
>>> characters.
>>> Amaury> Because of the leading "+", lines longer than 78 wrap,
>>> and the
>>> Amaury> output is more difficult to read.
>>>
>>> There will always be certain cases which present probems. I use
>>> "svn
>>> annotate" from time-to-time which adds an even wider margin to the
>>> left.
>>> In those situations I either grin and bear it or stretch my window
>>> enough to
>>> view it without wrapping.
>>
>> Yes, but svn/cvs diff is a particularly common use case. I agree
>> with
>> Amaury.
>
> -1. There's just no way that 78 is enforceable. At Google, sticking to
> 80 is a continuous battle, and we use 2-space indents!
At my last job, I had a hard enough time getting people to stick with /
any/ limit! I even saw lines > 120 characters! Fortunately, we made
a workable compromise; the C code could be whatever and the Python
code had to be PEP 8. :)
- -Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
iQCVAwUBR79fB3EjvBPtnXfVAQLBNAP7BD1FG5bOjkP0iys2r6f6nK98D9XZhK3J
Qm+Cjm6tmnqEv92R9rEVYOIH0KE21oGhJFliOccYZzuE0WFPk9T6KXrRIAmggBrf
ZtAwcj//0dfkq/7XGWwKgx9B7BoCymyyKGo16svj/jGeBQM6dLSoKUP+Fbw6zJEF
n04bAwAqFp0=
=3kW3
-----END PGP SIGNATURE-----
More information about the Python-Dev
mailing list