Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Random832 Newsgroups: comp.lang.python Subject: Re: Guido sees the light: PEP 8 updated Date: Mon, 18 Apr 2016 23:29:49 -0400 Lines: 15 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> <93639142-6b82-4b8a-8bd0-7f4593e1f692@googlegroups.com> <1461036589.1221872.582808913.08A50F70@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de T1OmdpB+Rm6DJCFroqzkxAi5IxB2/vZmkY0KhdOdcWTw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'column': 0.07; 'subject:PEP': 0.07; 'comment,': 0.09; 'received:internal': 0.09; 'adjacent': 0.16; 'colon.': 0.16; 'message- id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:10.202.2.212': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'proposed': 0.20; 'aligned': 0.22; 'somewhere': 0.24; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'indentation': 0.29; 'code': 0.30; 'run': 0.33; 'align': 0.33; 'handle': 0.34; 'comment': 0.35; 'should': 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'being': 0.37; 'received:66': 0.38; 'stuff': 0.38; 'subject:the': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'skip:u 10': 0.61; 'header:Message-Id:1': 0.61; 'levels': 0.70; "how's": 0.72 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=lsImng8yIVV8RJkrBsl1ERxY/P4=; b=4MoM+O P5xSjsJk1hwjhMv6AuW5EBtUzHsKmryTue4Ulcj65uoCQ4C5ZGxkQIwQIZFEh168 YVjNJdzhRYK3jn31cjXjbqX2GPLaLNWZ8g+EI47YU+WWybrThagfdagaRwkXbNDq 4T3jIRP0/IPvTo023W+7cccS8xwLgu4O5bJLU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=lsImng8yIVV8RJk rBsl1ERxY/P4=; b=uUzA1kh/Fghl1XlDOH1+qqJxnOgm1F5o42xFSI32Fxq8baA sEcQNsWYgBRFba4gzoYY9IiH9clPPRMl7HJorbUBVWYAukAMGQF6mphbri4Fb4Jd UjRNhcVrOWX3rAQQBy+4GYzIfPM7/e7DrU5U6/UncnyGbjaSgbwRTy1j5m0o= X-Sasl-Enc: g6SzYtfziFNP27ge+9OdB+cCCqgfk5PGUCOJTyVSkOL/ 1461036589 X-Mailer: MessagingEngine.com Webmail Interface - ajax-145d664b In-Reply-To: <93639142-6b82-4b8a-8bd0-7f4593e1f692@googlegroups.com> 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: <1461036589.1221872.582808913.08A50F70@webmail.messagingengine.com> 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> <93639142-6b82-4b8a-8bd0-7f4593e1f692@googlegroups.com> Xref: csiph.com comp.lang.python:107288 On Mon, Apr 18, 2016, at 23:04, Rustom Mody wrote: > See elastic tabstops: http://nickgravgaard.com/elastic-tabstops/ >From there: >A column block is a run of uninterrupted vertically adjacent cells. How's that going to handle this case: if foo: # comment that is aligned do some stuff # across multiple indent levels As far as I can tell, the model being proposed would align the indented code either with the first line's comment, or somewhere after the colon. I think it's excessively "clever" to think you can or should use the same model to solve indentation as other forms of alignment.