I interpret the above comparison as>>> bool([1,2,3]) == bool(True) True >>>
A tiny addition to what has already been said. As True is by definition a boolean, you can write this as
bool([1, 2, 3]) == True
True
I have on vary rare occasions had to convert 'truthiness' to an actual boolean, and this is how I do it.
Frank Millman -- https://mail.python.org/mailman/listinfo/python-list