while true: !!!
dsh8290 at rit.edu
Mon Dec 18 21:12:25 CET 2000
On Mon, Dec 18, 2000 at 01:15:39PM -0500, Tim Peters wrote:
> > I think that some people were confused with this statement. He meant
> > that 'true' and 'false' would be constants like in C++ and Java. It
> > would be illegal to try
> > true = false
> > ...
> A non-empty string literal is true, and unalterably so, so everyone can be
> happy writing:
> while "forever, because stupid Guido won't define 'true'":
Yes, true should be defined as a global constant, but this is almost
as good :
while 'true' :
Good point Tim.
More information about the Python-list