Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #49218
| Path | csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:PEP': 0.07; 'clause': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'variant': 0.09; '"for"': 0.16; 'message-id:@4ax.com': 0.16; 'optional': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'index': 0.16; 'basically': 0.19; 'install': 0.23; 'parse': 0.24; 'url:home': 0.24; 'initial': 0.24; 'header:X-Complaints-To:1': 0.27; 'wonder': 0.29; 'there': 0.35; 'charset:us-ascii': 0.36; 'step': 0.37; 'received:76': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'new': 0.61; 'subject:this': 0.83; '2013': 0.98 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
| Subject | Re: Is this PEP-able? fwhile |
| Date | Tue, 25 Jun 2013 20:47:44 -0400 |
| Organization | IISS Elusive Unicorn |
| References | <mailman.3757.1372103911.3114.python-list@python.org> <_JqdnQKrg4q12FTMnZ2dnUVZ_oydnZ2d@westnet.com.au> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | adsl-76-249-27-81.dsl.klmzmi.sbcglobal.net |
| X-Newsreader | Forte Agent 6.00/32.1186 |
| X-No-Archive | YES |
| 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.3868.1372207668.3114.python-list@python.org> (permalink) |
| Lines | 26 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1372207668 news.xs4all.nl 15882 [2001:888:2000:d::a6]:47599 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:49218 |
Show key headers only | View raw
On Tue, 25 Jun 2013 17:20:43 +1000, Neil Hodgson <nhodgson@iinet.net.au>
declaimed the following:
>jimjhb@aol.com:
>
>> Syntax:
>> fwhile X in ListY and conditionZ:
>
> There is precedent in Algol 68:
>
>for i from 0 to n while safe(i) do .. od
>
The REXX variant would be
do for i = 0 to n while safe(i)
...
end
Basically one has an optional "for" clause ( for index = initial to end
by step ), and one has an optional while/until clause -- Hmm, wonder if
some interpreters would parse both while and until <G>. I need to install
Regina Rexx on this new machine...
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is this PEP-able? fwhile jimjhb@aol.com - 2013-06-24 15:52 -0400
Re: Is this PEP-able? fwhile Neil Hodgson <nhodgson@iinet.net.au> - 2013-06-25 17:20 +1000
Re: Is this PEP-able? fwhile Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-06-25 20:47 -0400
Re: Is this PEP-able? fwhile Chris Angelico <rosuav@gmail.com> - 2013-06-26 17:40 +1000
csiph-web