[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-distutils-sig
Subject:    Re: [Distutils] [Python-Dev] Rich Comparison recipe wrong?
From:       Lennart Regebro <lregebro () jarn ! com>
Date:       2010-01-25 12:56:50
Message-ID: 319e029f1001250456o4dc05d75u7c7f7fde5d6e5e3c () mail ! gmail ! com
[Download RAW message or body]

On Mon, Jan 25, 2010 at 13:43, Lennart Regebro <lregebro@jarn.com> wrote:
> 2010/1/25 Ɓukasz Rekucki <lrekucki@gmail.com>:
>> No, cause what the snippet does is: *not B.__lt__(A)* which is
>> mathematicly correct and doesn't require A to implement anything.
>
> Yes, sorry, it's when you do a > b the problem arises.

and well, a != b, a == b and a <= b

But a < b works.
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic