while true: !!!

Greg Ewing greg at cosc.canterbury.ac.nz
Wed Dec 13 04:59:29 CET 2000

Carel Fellinger wrote:
> I ... would have prefered (I think) something like:
> loop: suite
> break <condition>: suite
> ...

Last time I thought about this, I decided that
I would like something along the lines of

     line = f.readline()
   gives line != '':

Alas, it would require a new keyword, making it
forever excluded from the idyllic Garden of Python
(before Py3k, anyway).

Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:	  

More information about the Python-list mailing list