while (a=b()) ...

Johann Hibschman johann at physics.berkeley.edu
Mon May 3 01:05:35 EDT 1999


Gordon McMillan writes:
>Johann Hibschman writes:
>> Yes, but there has to be a better way than "while 1", which abuses
>> the abstraction of the while loop.

> One nice thing about abstractions is that if you abuse them, they 
> don't complain.

And, luckily, in this case, they're well over 18...

-- 
Johann Hibschman                           johann at physics.berkeley.edu




More information about the Python-list mailing list