Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #49086
| Path | csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.039 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'syntax': 0.04; 'subject:PEP': 0.07; 'idea?': 0.09; '24,': 0.16; 'generators.': 0.16; 'loops': 0.16; 'wrote:': 0.18; 'exists': 0.24; 'mon,': 0.24; 'header:In-Reply-To:1': 0.27; 'said,': 0.30; '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; 'ahead': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'subject:? ': 0.60; '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=m4qfDwYgdnQhuFhR+We4oJYtIpSzjEYnaioO+lZAz3U=; b=ml+FWv8kleicVdmUmym8tWJRgOZz/pdZwXekqKrbLkrFVir6+P3zumy7uco3ngKnaK +qKf9IVrHOZM4qIorV7wPqsqs4ccxfDbp+pTJ0jVyOhNKky6Ebwci+7FcUU+DsDK2XnI E0d3hgCpvCS+wPNMJZJztI/BGMzZFZmBXnl1++lz2A/58ZMI+xugz9c/Vi3CqGJmMLO7 ZnOYj4jjHkn53ljwT+XZNSo3cOiroKuoXlCY4b10nr1CqJ2ifClxxk0DEwZVip8uMerY kLxdmdTsEUQrZ+zibAyJRK4zWmtCpL3XITfFQJG+S99H9gV7i1efgY+Mtk34GRb08Mq5 WQWw== |
| X-Received | by 10.68.166.5 with SMTP id zc5mr25785353pbb.16.1372107707823; Mon, 24 Jun 2013 14:01:47 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <CAA=1kxR65wqgQWQJaLvP2yx_XacEMsHiFs40rPW1UbFXYpnytA@mail.gmail.com> |
| References | <8D03F2B8CF0E7BE-1864-1796B@webmail-m103.sysops.aol.com> <CAA=1kxR65wqgQWQJaLvP2yx_XacEMsHiFs40rPW1UbFXYpnytA@mail.gmail.com> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Mon, 24 Jun 2013 15:01:07 -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.3771.1372109159.3114.python-list@python.org> (permalink) |
| Lines | 11 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1372109159 news.xs4all.nl 15998 [2001:888:2000:d::a6]:60785 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:49086 |
Show key headers only | View raw
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. That said, I do like this syntax better than "fwhile".
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:01 -0600
csiph-web