danielk at aracnet.com
Mon Aug 4 03:20:18 CEST 2003
In Python 2.2 I use to have
true = (1 == 1)
false = not true
This was at the recommendation of someone on this list some time ago.
The reason (if I remember correctly) was that setting
true = 1
false = 0
were not true booleans.
Now the expression (1 == 1) returns 'True', and caused a bug in my
code. So my question is what is the proper method for setting booleans
More information about the Python-list