The rap against "while True:" loops
digitig at gmail.com
Fri Oct 16 19:20:39 CEST 2009
2009/10/15 Steven D'Aprano <steve at remove-this-cybersource.com.au>:
>> And with enough static analysis to guarantee that the break will be
>> reached? I think it would be a bit much to expect Python to solve the
>> halting problem!
Not to what I thought was being proposed -- it seemed to make the
break mandatory, not merely the only clean way to exit.
More information about the Python-list