Steven D'Aprano <[EMAIL PROTECTED]> writes: > reserve <> for "greater than or less than but not equal to" which is > subtly different. (Think about unordered values, where x != y does not > imply that x < y or x > y, e.g. IEEE NaNs.)
Heh, good point. > > The scary choice is /= which can be interpreted as an assignment. > "Can be"? Yes, what I mean is that some languages (e.g. Ada, Haskell) use /= for nonequality. So if you switch between Haskell and C, you could find yourself typing /= when you mean != and the compiler won't flag it. -- http://mail.python.org/mailman/listinfo/python-list