strange behavior of the comparison operator

Ignacio Vazquez-Abrams ignacio at openservices.net
Wed Aug 29 17:32:54 EDT 2001


On Wed, 29 Aug 2001, Grant Edwards wrote:

> In article <mailman.999108615.24410.python-list at python.org>, Ignacio Vazquez-Abrams wrote:
> > Mmm, no. You see, what if you have values like (5+1j) and (2+58j)? are you
> > sure you want to believe that (5+1j) is larger?
>
> That's the requirement he specified.  I was fixing the code to
> meet the requirement.  [It turns out the actual problem was the
> method name, right?]

Surprisingly enough, he didn't mention any requirements whatsoever.

> If you want to argue about the requirements, that's entirely
> different.

Naw, not today :)

> > It will seem that way if you use the comparison function above.
>
> Yup. That's what he said he wanted.

See above.

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Python-list mailing list