Dj Gilcrease skrev: > No the proper syntax is > > >>>> False ^ False >>>> I think you are missing the point: ^ is bitwise or. Don't think we can always go from bitwise to boolean operator by casting to bool. Xor is a special case. >>> bool(not True) False >>> bool(~True) True S.M.