Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #69638

Re: Yet Another Switch-Case Syntax Proposal

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.039
X-Spam-Evidence '*H*': 0.93; '*S*': 0.01; 'mrab': 0.05; 'cc:addr :python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'loop.': 0.16; 'subject:Case': 0.16; 'wraps': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'went': 0.31; 'fri,': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'pm,': 0.38; 'back': 0.62; 'bottom': 0.67; 'subject:Proposal': 0.91; 'to:none': 0.92
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:cc :content-type; bh=k6Dklk9krFhajTpySv3UVfozTkRfQ5e7CByvG152Y5g=; b=AwDvOg3a35y6oSzjq/n/DRIiFUIlSlU3LJg+iUHtgjqbHTawvoa+fQUr6Y0jT3gPGU xAeq2gq2dkXS/p0l+vHsybUl3W5klNmDpDzBxnDupycusojI81G5tt3OjcmIlRZFj+sN uMrv2+tDa+MZvf39ofHtIk72sOyTgY5ECSFPQ71NlBjVAt6UIzO5MWEJHil4BJx4JkRs 05O3hmPUvHNjK/ARwTcpfhzyg+tiyvZ+z5fDr1YGNHUuISWCtZeODMEKqp7A061N7wvG mGXYq8sqMiQRapMYUPEFds8+NmrLknwUBWhY6CL0j//pB93zpKmOzFLX7JRHgSJxD71W cDCA==
MIME-Version 1.0
X-Received by 10.66.102.39 with SMTP id fl7mr11661232pab.43.1396580989375; Thu, 03 Apr 2014 20:09:49 -0700 (PDT)
In-Reply-To <533E131F.6010907@mrabarnett.plus.com>
References <8084-1396540962-768613@sneakemail.com> <533DA72B.9010602@stoneleaf.us> <533E131F.6010907@mrabarnett.plus.com>
Date Fri, 4 Apr 2014 14:09:49 +1100
Subject Re: Yet Another Switch-Case Syntax Proposal
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.8876.1396580992.18130.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1396580992 news.xs4all.nl 2951 [2001:888:2000:d::a6]:40037
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:69638

Show key headers only | View raw


On Fri, Apr 4, 2014 at 1:04 PM, MRAB <python@mrabarnett.plus.com> wrote:
> I thought [continue] went to the end of the loop, but because it's a loop, it
> just wraps around back to the top...

It goes to the bottom of the loop, and then the loop condition may or
may not send it to the top of the loop.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Yet Another Switch-Case Syntax Proposal Chris Angelico <rosuav@gmail.com> - 2014-04-04 14:09 +1100

csiph-web