On Sat, Aug 23, 2008 at 1:17 PM, Nils Bruin <[EMAIL PROTECTED]> wrote:
>
> On Aug 23, 1:00 pm, "Fredrik Johansson" <[EMAIL PROTECTED]>
> wrote:
>
>> Hardly, considering that this is what Python itself does:
>>
>> >>> 1+1j > 1-1j
>>
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>> TypeError: no ordering relation is defined for complex numbers
>
> Ah, well, if python itself already has uncomparable objects, then I
> think Sage should only allow "<" comparison when it has a mathematical
> footing.

Did you read through the article Alfredo Portes posted, which
also explains some of the gotchas and subtleties of disallowing
comparisons?   I'm curious what you thought of it.

> See also:
>
> http://trac.sagemath.org/sage_trac/ticket/3936
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to