Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #49148
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <goktug.kayaalp@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.050 |
| X-Spam-Evidence | '*H*': 0.90; '*S*': 0.00; 'mrab': 0.05; 'subject:PEP': 0.07; 'appropriate.': 0.09; 'python': 0.11; '24,': 0.16; '>>on': 0.16; '>on': 0.16; 'jumping': 0.16; 'loops': 0.16; 'wrote:': 0.18; '(the': 0.22; 'import': 0.22; 'header:User- Agent:1': 0.23; 'mon,': 0.24; 'header:In-Reply-To:1': 0.27; 'specifically': 0.29; 'chris': 0.29; 'feature': 0.29; 'am,': 0.29; 'tim': 0.29; 'label': 0.30; "i'm": 0.30; '+0100,': 0.31; '25,': 0.31; '8:30': 0.31; 'breaking': 0.31; 'chase': 0.31; 'though.': 0.31; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'doubt': 0.36; 'skip:> 10': 0.36; 'useful': 0.36; 'message- id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'skip:b 40': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'even': 0.60; 'subject:? ': 0.60; 'break': 0.61; 'from:charset:utf-8': 0.61; 'times': 0.62; 'content-disposition:inline': 0.62; 'more': 0.64; '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=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=FfOpkH2l682RbG7eSgtrZo2yesYaz17an9Q08tHTpqY=; b=MoGC4xPQiAoYEI9VMmXbiM3CqEsJSIB4M6TFRBT18Dp/Z7v5383iJomg3KLObwhjqS VRcjSLaqazwAfWGd4LCcy+p5nSd1gtJiogGmcOMqk7s2fYpLGlDk3GH7parSVKc/xCWK 2eM7LfuicZ862F6XQf3w5ORIVpp7yQWLtY9w8FFciu0lPUCWbtTVYY/lbgqNw8TIrcgU +e2PNri6P/2o080OJ4znMDZk51WMsf0mgCcl6NoCUzhPo7SxrheLzzepWFmtN2y0lp0x 4KtKqFYS3UT0L5A0wN4iy/nwW7FzadE3DRfd1MQ6z864Hvq0fXsgK71nmIQ4rzD3bZ88 o/Gw== |
| X-Received | by 10.204.50.206 with SMTP id a14mr17448bkg.64.1372161086156; Tue, 25 Jun 2013 04:51:26 -0700 (PDT) |
| Date | Tue, 25 Jun 2013 14:51:00 +0300 |
| From | Göktuğ Kayaalp <goktug.kayaalp@gmail.com> |
| To | python-list@python.org |
| Subject | Re: Is this PEP-able? fwhile |
| References | <8D03F2B8CF0E7BE-1864-1796B@webmail-m103.sysops.aol.com> <CAPTjJmrwNyF2-J8F3ii8W4WpkrNC67+i88ODLyiqHGa_7bz0Xg@mail.gmail.com> <20130624173050.5e16debf@bigbox.christie.dr> <CAPTjJmoHtrRSmag1woY5d-5=nauR40oijMbxP7Oda+Y=dH17iA@mail.gmail.com> <51C8CC25.1060102@mrabarnett.plus.com> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Disposition | inline |
| Content-Transfer-Encoding | 8bit |
| In-Reply-To | <51C8CC25.1060102@mrabarnett.plus.com> |
| User-Agent | Mutt/1.5.21 (2010-09-15) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3810.1372161491.3114.python-list@python.org> (permalink) |
| Lines | 24 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1372161491 news.xs4all.nl 15902 [2001:888:2000:d::a6]:42539 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:49148 |
Show key headers only | View raw
On Mon, Jun 24, 2013 at 11:45:57PM +0100, MRAB wrote: > On 24/06/2013 23:35, Chris Angelico wrote: > >On Tue, Jun 25, 2013 at 8:30 AM, Tim Chase > ><python.list@tim.thechases.com> 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 :) > > > I think a better way would be to label the outer loop somehow and then > break out of it by name. Would say that procedure-scoped gotos are useful for more than manipulating loops indeed. Doubt if either will be in Python ever though. -- Göktuğ Kayaalp <goktug.kayaalp@gmail.com>
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Is this PEP-able? fwhile Göktuğ Kayaalp <goktug.kayaalp@gmail.com> - 2013-06-25 14:51 +0300
csiph-web