Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'syntax': 0.04; 'subject:PEP': 0.07; 'appropriate.': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; '-tkc': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'module': 0.19; '(the': 0.22; 'import': 0.22; 'this?': 0.23; 'header:User-Agent:1': 0.23; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'specifically': 0.29; 'chris': 0.29; 'tim': 0.29; "doesn't": 0.30; 'ball': 0.31; 'breaking': 0.31; 'chase': 0.31; 'next': 0.36; 'to:addr:python-list': 0.38; 'skip:b 40': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'subject:? ': 0.60; 'black': 0.61; 'watching': 0.68; 'subject:this': 0.83; 'goto': 0.84; 'white,': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Is this PEP-able? fwhile Date: Mon, 24 Jun 2013 23:49:26 +0100 References: <8D03F2B8CF0E7BE-1864-1796B@webmail-m103.sysops.aol.com> <20130624173050.5e16debf@bigbox.christie.dr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-24-210-99.ppp.as43234.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <20130624173050.5e16debf@bigbox.christie.dr> X-Antivirus: avast! (VPS 130624-2, 24/06/2013), Outbound message X-Antivirus-Status: Clean 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372114142 news.xs4all.nl 15951 [2001:888:2000:d::a6]:57533 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49100 On 24/06/2013 23:30, 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 > > -tkc > > Doesn't the goto module http://entrian.com/goto/ fix this? :) -- "Steve is going for the pink ball - and for those of you who are watching in black and white, the pink is next to the green." Snooker commentator 'Whispering' Ted Lowe. Mark Lawrence