[Python-Dev] while:

Anthony Baxter anthony at interlink.com.au
Wed Jul 20 05:26:19 CEST 2005


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...)

Anthony
-- 
Anthony Baxter     <anthony at interlink.com.au>
It's never too late to have a happy childhood.


More information about the Python-Dev mailing list