[EMAIL PROTECTED] a écrit : (snip) > After thought: > > I do run into problems testing boolean values on a regular basis.
FWIW, booleans were a late add-on. Originally, Python didn't had a bool type, only rules about the boolean value of a given object, mostly: 0, 0.0, '', [], (,), {} and None are false (you'll probably notice a pattern with a concept of emptyness). These rules still apply of course. -- http://mail.python.org/mailman/listinfo/python-list