#16397: Symbolic cmp
-----------------------------+------------------------
       Reporter:  vbraun     |        Owner:
           Type:  defect     |       Status:  new
       Priority:  major      |    Milestone:  sage-6.3
      Component:  symbolics  |   Resolution:
       Keywords:             |    Merged in:
        Authors:             |    Reviewers:
Report Upstream:  N/A        |  Work issues:
         Branch:             |       Commit:
   Dependencies:             |     Stopgaps:
-----------------------------+------------------------

Comment (by burcin):

 I can see how that might be surprising. :)

 IIRC, that was a conscious decision to expose the print order from Pynac
 to !Python/Sage to be used for sorting lists, etc. where symbolic
 expressions occur. I guess many places in the code call `cmp()` instead of
 using the comparison operators.

 We would need to get rid of this design for Python 3 compatibility anyway.
 Shall we remove support for `cmp()` and change all places where lists are
 returned from symbolics to explicitly call the print order?

--
Ticket URL: <http://trac.sagemath.org/ticket/16397#comment:3>
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