while true: !!!

Tim Peters tim.one at home.com
Thu Dec 21 20:02:23 EST 2000


[Blair Lowe]
> ...
> WHO says that while 1 is a "standard python idiom"? Certainly not in
> my company!

I don't know of any defn. for "std idiom" that doesn't appeal to what
experienced programmers in a language routinely do.  Since Python's std
library contains "while 1" more than 400 times, it's hard to see how that
could *not* be considered a std Python idiom.

Don't know about Fredrik, but I'd be confused at first sight if it were
spelled in any other way.

then-again-i-confuse-easily<wink>-ly y'rs  - tim





More information about the Python-list mailing list