Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Ian Kelly Newsgroups: comp.lang.python Subject: Re: Guido sees the light: PEP 8 updated Date: Mon, 18 Apr 2016 15:29:49 -0600 Lines: 16 Message-ID: References: <5711c1b3$0$1596$c3e8da3$5496439d@news.astraweb.com> <87shym6kpo.fsf@elektro.pacujo.net> <87h9f26ioa.fsf@elektro.pacujo.net> <1460809922.1918014.580580553.0AE05EE4@webmail.messagingengine.com> <878u0d7az5.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de Z3CNdquj3SZlNsVgc/uG6w6o6aAfiJeI7b6UEMapqlDA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.022 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'compiler': 0.05; 'subject:PEP': 0.07; 'width': 0.07; 'encode': 0.09; 'python': 0.10; '2016': 0.16; 'germane': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'specifies': 0.18; 'programmer': 0.18; 'language': 0.19; 'essential': 0.20; '(or': 0.23; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'message- id:@mail.gmail.com': 0.27; 'finds': 0.29; 'indentation': 0.29; 'spaces': 0.29; 'character': 0.29; 'code': 0.30; 'rules': 0.31; 'fixed': 0.31; 'another': 0.32; 'received:google.com': 0.35; 'needed': 0.36; 'there': 0.36; 'lines': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'why': 0.39; 'subject:the': 0.39; 'to:addr:python.org': 0.40; 'space': 0.40; 'some': 0.40; 'maximum': 0.61; 'needing': 0.63; 'reviews': 0.63; 'different': 0.63; 'incorporate': 0.66; 'therefore': 0.67; 'worth': 0.67; 'start.': 0.84; 'to:name:python': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=BdMcIgX0uE0H8eswgYHyOLEyA4y8PbZKGZexBOVLsfw=; b=A1j2Pd8t7cj0rsEjsNhegtXSy+suc88zw3Xh7rj7DTWyssjDOJVGMgaxmXXbWnDbbJ h++cEGMYZlXXMcREmt4vhyKIxG3uDOxpZTAdYQhhvDaKyY0Oc3MMZVjccpnDDteQ2k6q Pe288tbFA8woYRdqO03p269ytR9bGgrtzhcSmRZx+hkvFs1DmjyHHmtqe4P78fZbVLji GvmX4DYPrsIIRtxqIou/6saVru0nVaxYk2uJrUf35aMSdFRGGD4GzT7fMwQ1GOWZxzLn w+BU14H/G4eLIPzfsDF+9tbA0U7DjC2rXetbJ9OpIKmFmlyjYk4kqPR9sLhkWG1grW6v SnHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=BdMcIgX0uE0H8eswgYHyOLEyA4y8PbZKGZexBOVLsfw=; b=Z7FU2TTXhCRUk1C/HdbAVJ3Qgg1nY81YaUZEnyu43z8oFmgtvHV9lN++4fdOslKo94 m3iV1vRUv/oewAVWYirA4BGdcMlzIbH1VP7gqCByTOpS5TnVDFqL5H40OI6fRRR4xNdy Fn19X3wbgHjGbDUXAQGNC+z0vxsu8PCANBVUtG63mqinFX5cRVvA3nNK6g0s8m9AiWj6 9yjc//ZeoLSNaKVIdWDlgmgjG4mCUEQlRMmVjp1p4JSTrbUXAUAhUUmYNcRsXTHXcW3U SxYCsj8N6OGsy8WOCFG/nJZUXigGkBibJ1+//ohfhgD1bEsCJdVqYuzT9ofP60NcDJqX FVxQ== X-Gm-Message-State: AOPr4FXuM+JdHvGTtzVPGVgbh/pG+gCU1Y5hi07RYqvwDQsJmJ1ClPbD4gh7OyHvWch9tx2oVEAAHhE0+Zzc+g== X-Received: by 10.50.57.50 with SMTP id f18mr21635726igq.93.1461015028999; Mon, 18 Apr 2016 14:30:28 -0700 (PDT) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <5711c1b3$0$1596$c3e8da3$5496439d@news.astraweb.com> <87shym6kpo.fsf@elektro.pacujo.net> <87h9f26ioa.fsf@elektro.pacujo.net> <1460809922.1918014.580580553.0AE05EE4@webmail.messagingengine.com> <878u0d7az5.fsf@elektro.pacujo.net> Xref: csiph.com comp.lang.python:107278 On Mon, Apr 18, 2016 at 3:14 PM, Pete Forman wrote: > Why is it that Python continues to use a fixed width font and therefore > specifies the maximum line width as a character count? > > An essential part of the language is indentation which ought to continue > to mandate that lines start with a multiple of 4 em worth of space (or > some other size or encode with hard tabs, that is not germane to my > question). The content of the line need not be bound by the rules needed > to position its start. How many spaces is "4 em worth"? How would you incorporate that into the Python compiler or a linter without needing to know what particular font the programmer is using? What happens when another programmer reviews the code using a different font and finds that there is only 3.5em worth of space? Do we descend into Calibri / Verdana line-length edit wars?