Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #49085
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!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.026 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'syntax': 0.04; 'subject:PEP': 0.07; 'idea?': 0.09; '24,': 0.16; 'both,': 0.16; 'different?': 0.16; 'generators.': 0.16; 'loop.': 0.16; 'loops': 0.16; 'semantics': 0.16; 'wrote:': 0.18; 'exists': 0.24; 'mon,': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'probably': 0.32; "we're": 0.32; 'maybe': 0.34; 'received:google.com': 0.35; 'add': 0.35; 'there': 0.35; 'should': 0.36; 'so,': 0.37; 'ahead': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'ian': 0.60; 'subject:? ': 0.60; 'course': 0.61; 'taking': 0.65; '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:content-transfer-encoding; bh=8GLke3XysG8HgYcEJfO8zCGj0vW0GnYu2Urbc0Pge14=; b=biwirP5rt7xCS12MMLozuKWAFwEfmc3fHwyWeoqUnfSBU4f2uebA8c0a0B7bIoYkJc HO8SkEw7Wnt9x72r+sEIeozCYBavowiYzZlJNzhzttl6+QwcoIVnFB0ZWjoNUtX9hcn9 XOUwLgwDOaWfcKUuj2qwG3HBBOFjJ4Ns8LidftUk+HzbY0frUr2gH6vfhDp7XG+KflvA AE4ns2TYlmbDiHlH/8oDJsvCjZI5/jyJfvzouRfw0L16RcheCWgrq7Ggms9v8xEXNEeq /YD4Oa9Yzj2AV++IfXV+t83AoYhQqv52OTfflFmk5c0vBK1xdSFLR7TDQKYC+W8lXM9g OrJg== |
| X-Received | by 10.68.189.199 with SMTP id gk7mr14565688pbc.208.1372107816820; Mon, 24 Jun 2013 14:03:36 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <CALwzidnADsCdNmfFsLChVq7bt9G87Rsr1DsD1M-jNmzqQ2Z0eA@mail.gmail.com> |
| References | <8D03F2B8CF0E7BE-1864-1796B@webmail-m103.sysops.aol.com> <CAA=1kxR65wqgQWQJaLvP2yx_XacEMsHiFs40rPW1UbFXYpnytA@mail.gmail.com> <CALwzidnADsCdNmfFsLChVq7bt9G87Rsr1DsD1M-jNmzqQ2Z0eA@mail.gmail.com> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Mon, 24 Jun 2013 15:02:56 -0600 |
| Subject | Re: Is this PEP-able? fwhile |
| To | Python <python-list@python.org> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| 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.3770.1372107820.3114.python-list@python.org> (permalink) |
| Lines | 14 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1372107820 news.xs4all.nl 15991 [2001:888:2000:d::a6]:52415 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:49085 |
Show key headers only | View raw
On Mon, Jun 24, 2013 at 3:01 PM, Ian Kelly <ian.g.kelly@gmail.com> wrote: > On Mon, Jun 24, 2013 at 2:34 PM, Fábio Santos <fabiosantosart@gmail.com> wrote: >> This can probably be best achieved by adding to the existing for loop, >> so maybe taking advantage of the existing for...if syntax and adding >> for...while would be a better idea? > > The for...if syntax only exists for comprehensions and generators. If > we're going to add for...while for loops, then we might as well go > ahead and add for...if loops there as well. Which of course brings us to the for...if...while loop. Or should it be for...while...if? Or do we allow both, and if so, are the semantics the same or different?
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Is this PEP-able? fwhile Ian Kelly <ian.g.kelly@gmail.com> - 2013-06-24 15:02 -0600
csiph-web