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


Groups > comp.lang.python > #49076

Re: Is this PEP-able? fwhile

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.040
X-Spam-Evidence '*H*': 0.93; '*S*': 0.01; 'syntax': 0.04; 'subject:PEP': 0.07; '"and"': 0.16; '24,': 0.16; 'begin?': 0.16; 'iterable': 0.16; 'wrote:': 0.18; 'lista': 0.19; 'example': 0.22; 'mon,': 0.24; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'received:google.com': 0.35; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'expression': 0.60; 'subject:? ': 0.60; 'subject:this': 0.83; '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:from:date:message-id:subject:to :content-type; bh=qG1yeDrm4qhGdmz1Apkgj+rsVobljTm01xWjJ007pao=; b=UtjuGzwm3tfqOtTcxgqhG8ZabEm/Evv1kXP0vigdHAZNugGxeeQr05wRS0SWKGfmy8 FjqX2nsktQi0bTllRnQsQSC1Ixex2MVUGobqF0dyxD7foXnqtrS1I5qZnlmuB1HM6mY1 QyF0rkMDqDPfJY9M8o7XANwxRDOxMjtFwjVDXSJADOqyI8AN3pHUzSYFsmwDxBTycADt hbX5IzZqw38NovmAnWvMO9gb4PMU5JUT1TS6Ne0morRDSk+hlyGxsrTJu3QzlnDx0a/e 962bZEa2ZQ+ksDR+gYyszw7AkahWsTLoyEm6CacLdWNoPwlRrqp70PD1pv9FbOjap0i2 7wUg==
X-Received by 10.68.247.100 with SMTP id yd4mr3449831pbc.57.1372105216687; Mon, 24 Jun 2013 13:20:16 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <8D03F2B8CF0E7BE-1864-1796B@webmail-m103.sysops.aol.com>
References <8D03F2B8CF0E7BE-1864-1796B@webmail-m103.sysops.aol.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Mon, 24 Jun 2013 14:19:36 -0600
Subject Re: Is this PEP-able? fwhile
To Python <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 <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.3761.1372105220.3114.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1372105220 news.xs4all.nl 15954 [2001:888:2000:d::a6]:42328
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:49076

Show key headers only | View raw


On Mon, Jun 24, 2013 at 1:52 PM,  <jimjhb@aol.com> wrote:
> Syntax:
>
> fwhile X in ListY and conditionZ:

Also, this syntax is ambiguous.  Take for example the statement:

fwhile X in ListA and ListB and ListC and ListD:

At which "and" does the iterable expression stop and the condition
expression begin?

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


Thread

Re: Is this PEP-able? fwhile Ian Kelly <ian.g.kelly@gmail.com> - 2013-06-24 14:19 -0600

csiph-web