Steven D'Aprano: > With the greatest respect, I think that if you think the second example > "is more clear", you're completely bonkers. *grins*
No one is completely normal, I presume :-) I'd like to know what others think about it, about this anti-feature. What I can say is that other computer languages too think that boolean operations must return boolean values only, so I am not alone in my folly :-) Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list