En Sun, 30 Mar 2008 05:08:34 -0300, <[EMAIL PROTECTED]> escribió: > On Mar 29, 12:41 pm, Steven D'Aprano <[EMAIL PROTECTED] > cybersource.com.au> wrote:
>> Since you jump to an invalid conclusion about !=, the rest of your >> argument fails. > > No, you said <= could be confusing, but we're talking about <> here, > and there is no confusion about that :). Yes, there is: <> looks like "less or greater", and being equal or not is a different thing that being less or greater. Trichotomy law holds for real numbers (although some people don't even accept that) but not for floating point (NANs); and Python isn't about numbers only. For a lot of objects it makes sense to compare them for equality or not, but you can't say which one is greater than the other (the weather forecast, books in a bookstore) -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list