why no "do : until"?

A.M. Kuchling amk at mira.erols.com
Wed Jan 3 19:51:05 EST 2001


On Wed, 03 Jan 2001 08:21:11 -0700, Bjorn Pettersen
<pbjorn at uswest.net> wrote: 
>better in the other p-language group. The "while 1" loop seems to be
>a holy cow in Python. 

Hardly; I consider it one of Python's design flaws, and have
accordingly included it in my list of Python warts
(http://www.amk.ca/python/writing/warts.html).  But I've managed to
live with it this far, and don't wish for a do...while that often.

--amk




More information about the Python-list mailing list