while True or while 1

Andrea Crotti andrea.crotti.0 at gmail.com
Sat Jan 21 09:29:12 EST 2012

Actually there was the same question here (sorry should have looked before)

And I think the main reason is that 1 is a constant while True is not
such and can be reassigned.

More information about the Python-list mailing list