Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Michael Selik Newsgroups: comp.lang.python Subject: Re: for / while else doesn't make sense Date: Sun, 22 May 2016 02:55:40 +0000 Lines: 12 Message-ID: References: <573dfc0f$0$1586$c3e8da3$5496439d@news.astraweb.com> <573e54f7$0$1615$c3e8da3$5496439d@news.astraweb.com> <57400C22.7050706@lucidity.plus.com> <57403ade$0$1593$c3e8da3$5496439d@news.astraweb.com> <5740C989.4070408@lucidity.plus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de LAKVnlbXKga25bj9daM9tQJELOUrQEAksMChtc/sU3eA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'static': 0.03; '21,': 0.07; 'optional': 0.09; 'subject:while': 0.09; 'python': 0.10; 'compilers': 0.16; 'erik': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:make': 0.16; 'wrote:': 0.16; 'to:2**1': 0.21; '(by': 0.22; "python's": 0.23; 'sat,': 0.23; 'header:In-Reply-To:1': 0.24; 'question': 0.27; 'message- id:@mail.gmail.com': 0.27; 'preserve': 0.29; 'ago': 0.29; 'guess': 0.31; 'received:google.com': 0.35; 'path': 0.35; 'asking': 0.35; 'should': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'starting': 0.37; 'received:209': 0.38; 'to:addr:python.org': 0.40; 'some': 0.40; 'subject: / ': 0.63; 'more': 0.63; 'hints': 0.66; 'analysis': 0.72; 'subject:else': 0.84; 'subject:sense': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=C5JMOHDXjZhxFbrFxhV4ZYrhYvzK9idEjImjp0eZISg=; b=oo4L/upD13e7f2IWgYH0wqghe795w4+5ml5RFUhsz1wuFSNLjPuRrdaHa9vtPIpCjn NSRENu2/Sv5hlTNyoWp8rp8eOtKixGPEBtdWCbLOQ8l8aNhUR73pzZB+wB6Q6E3UYjsI J+bn9mj2XXinaOXpai8aVy/e9PnQUeVUnJLAFzu8XeaJSe+nNg1EUkeejq7O3uAKy6OZ RA74Gkqh17+K8GQblsdz5IeLF7RllmZO9FEM39Zn6ILMuB+JqMdFsZIbM+kiWWo1y78N p5zQULyLG5OEHfvaf366PMXrdF2/0S9BPRSaj/igyF/rrRMP1O7Em08yd+CrPybMJSD6 V2bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=C5JMOHDXjZhxFbrFxhV4ZYrhYvzK9idEjImjp0eZISg=; b=eE3uZWePL2nRLls7v7t5EBljW4bOYE+bWKI4h9ozfjE9G2/vBRtmOrFqiRigVt4/8w 4d4AQqhVXexvkgZqZAWlog77fHZLW52Lw4bv2ZFXAtA6Pj5Iqt4auJSYLRbtYOfaVyVO 8xEb7tnA8Tiu7WpAPN5TlcVVxVZRkaOzn0IgWqFPSDbC98awCFExb4uK2FZu5NVJfG2Q zGXC277bdMNT2HVJ62iehgvhzt9w3GqQsAE8WGYi4G1/WnoFkyLcJX/ktNXSF38Wgssx O0gtxa/lrGHCUZMZeLtJ9sx87u6pnDY/R99Nk4vXENTLk4onTd4sXOGXlk4d92PqGAJ2 eK6w== X-Gm-Message-State: AOPr4FXIRRhPJiuDMHN7MeKXlEf4RO0LNwIVLl00D++6976lDpXGsQpV1SbFD0LFV7TmNg9x1RdJ9MSipRWrug== X-Received: by 10.140.170.132 with SMTP id q126mr10345844qhq.103.1463885750688; Sat, 21 May 2016 19:55:50 -0700 (PDT) In-Reply-To: <5740C989.4070408@lucidity.plus.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 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: <573dfc0f$0$1586$c3e8da3$5496439d@news.astraweb.com> <573e54f7$0$1615$c3e8da3$5496439d@news.astraweb.com> <57400C22.7050706@lucidity.plus.com> <57403ade$0$1593$c3e8da3$5496439d@news.astraweb.com> <5740C989.4070408@lucidity.plus.com> Xref: csiph.com comp.lang.python:108931 On Sat, May 21, 2016, 4:52 PM Erik wrote: > So I guess my question is perhaps whether Python compilers should start > to go down the same path that C compilers did 30 years ago (by starting > to include some linter functionality) > Well, there's that whole optional type hints thing. You should be asking how to preserve Python's simplicity while adding more static analysis features. >