#12683: Inappropriate comparison of method
------------------------------------+--------------------------
       Reporter:  culler            |        Owner:  AlexGhitza
           Type:  defect            |       Status:  new
       Priority:  major             |    Milestone:  sage-6.4
      Component:  basic arithmetic  |   Resolution:
       Keywords:  rich comparison   |    Merged in:
        Authors:                    |    Reviewers:
Report Upstream:  N/A               |  Work issues:
         Branch:                    |       Commit:
   Dependencies:                    |     Stopgaps:
------------------------------------+--------------------------

Comment (by culler):

 The original behavior still persists in sage 6.8, although the value of
 the comparison has been reversed:

 sage: z = 3-4j
 sage: z.imag > 0
 True

 Also, it is still true that the behavior is inherited from python.  In
 python 2.7.9 one has:

 >>> class bla:
 ...   def f(self):
 ...     pass
 ...
 >>> x = bla()
 >>> x.f > 0
 True

 Nonetheless, that does not make it a desirable behavior in Sage.

 Anyway, as far as I can see, nothing has changed.

--
Ticket URL: <http://trac.sagemath.org/ticket/12683#comment:8>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to