Python loop constructs

Aahz aahz at pythoncraft.com
Fri Jan 17 00:19:51 EST 2003


In article <v2aotpoed6lk28 at news.supernews.com>,
John Roth <johnroth at ameritech.net> wrote:
>
>The objection that people have to
>
>while 1:
>
>or
>
>while True: (as in Python 2.3)
>
>is that it's an idiom and they'd like it to be more clearly
>stated. Frankly, I can't get myself all that fired up over the issue
>when there are lots of larger issues to work on.

More than that, most such use cases have gone away with Python 2.2 and
iterators/generators.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"I used to have a .sig but I found it impossible to please everyone..."  --SFJ




More information about the Python-list mailing list