Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.035 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'syntax': 0.04; 'subject:PEP': 0.07; 'appropriate.': 0.09; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'implemented,': 0.16; 'jumping': 0.16; 'wrote:': 0.18; '(the': 0.22; 'import': 0.22; 'header:In-Reply-To:1': 0.27; 'specifically': 0.29; 'chris': 0.29; 'feature': 0.29; 'am,': 0.29; 'tim': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; '25,': 0.31; '8:30': 0.31; 'breaking': 0.31; 'chase': 0.31; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'to:addr:python- list': 0.38; 'skip:b 40': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'even': 0.60; 'subject:? ': 0.60; 'times': 0.62; 'wish': 0.70; 'subject:this': 0.83; 'goto': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ruo1IgR8Dx91IDisgAHsmuiRRgbT9qzKkIZ9mdhh/TU=; b=0M/otwjJBGjdJmTAdfbql+miFJbcnFnndSDGBfCJ6OFduScQv5D7PghUMZ4/icYUCP Sr9XZbNdPyGJoMkQC9vyQhMDbxYMka2eVgU+epRilbC1bdWvIhqZLZru9v7b/ytwVIJL V5mNN9FMMiqMfAmOZAIlCrPRUwDtkTKRUqQOIMfmj+zuXnq2O20uhLBGxnxAVkoGSbsc 0OAVY8fcDyBu+cV2Gkdf6ZL9CNdV9OlKsf5/LncO0KLTfGVgotqTbGp2dV2lPdvVcOq2 rCY/yxip/BrBL0FzodWfMMW68WnTgJX1RuwmO6punj5Quceo15YMLm2Lp+eQBeY3Khfe clOA== MIME-Version: 1.0 X-Received: by 10.52.163.165 with SMTP id yj5mr10757131vdb.104.1372113355789; Mon, 24 Jun 2013 15:35:55 -0700 (PDT) In-Reply-To: <20130624173050.5e16debf@bigbox.christie.dr> References: <8D03F2B8CF0E7BE-1864-1796B@webmail-m103.sysops.aol.com> <20130624173050.5e16debf@bigbox.christie.dr> Date: Tue, 25 Jun 2013 08:35:55 +1000 Subject: Re: Is this PEP-able? fwhile From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372113364 news.xs4all.nl 15881 [2001:888:2000:d::a6]:43080 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49094 On Tue, Jun 25, 2013 at 8:30 AM, Tim Chase wrote: > On 2013-06-25 07:38, Chris Angelico wrote: >> Python has no issues with breaking out of loops, and even has >> syntax specifically to complement it (the 'else:' clause). Use >> break/continue when appropriate. > > from minor_gripes import breaking_out_of_nested_loops_to_top_level True. There are times I do wish for a 'goto'. But if goto were implemented, I would also use it for jumping _into_ loops, and I'm not sure that's going to make the feature popular :) ChrisA