[Distutils] [Python-Dev] Rich Comparison recipe wrong?
lregebro at jarn.com
Mon Jan 25 13:56:50 CET 2010
On Mon, Jan 25, 2010 at 13:43, Lennart Regebro <lregebro at jarn.com> wrote:
> 2010/1/25 Łukasz Rekucki <lrekucki at 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.
More information about the Distutils-SIG