[Python-ideas] "While" suggestion
Bruce Leban
bruce at leapyear.org
Thu Jul 3 22:34:15 CEST 2008
And it doesn't do that! It only replaces that when <setup> is a simple
assignment.
PEP 315 suggested:
do:
<setup>
while <expression>:
<stuff>
which does cover the general scenario.
On Thu, Jul 3, 2008 at 1:22 PM, Stavros Korokithakis <
stavros at korokithakis.net> wrote:
> I don't know where this "while True" concept snuck in, the proposal isn't
> supposed to replace those, it's supposed to replace this:
>
> <setup>
> while <expression>"
> <stuff>
> <setup>
>
> Stavros
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20080703/114d62cb/attachment.html>
More information about the Python-ideas
mailing list