El mié, 20-07-2005 a las 13:26 +1000, Anthony Baxter escribió:
> On Wednesday 20 July 2005 13:13, Martin Blais wrote:
> > it got me wondering, wouldn't it be nice if
> >
> >    while:
> >       ...
> >
> > behaved as:
> >
> >    while True:
> >       ...
> 
> -1
> 
> I don't expect if: or for: to mean anything, so why
> should while: ? I don't see any advantages to it (saving
> 5 keypresses? please...)

maybe a new idiom

forever:
    ...

is in order?

(perhaps it would be better to call it "always:" or "until_break")

(this message is a bit tongue-in-cheek)

=)

> 
> Anthony
-- 
Manuel Amador                   <[EMAIL PROTECTED]>
http://www.amautacorp.com/            +593 (4) 220-7010
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to