#18881: Remove comparison boilerplate - part 1
---------------------------+----------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: sage-6.8
Component: cython | Keywords:
Merged in: | Authors: Jeroen Demeyer
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
---------------------------+----------------------------------
Now that #18329 is merged, we can remove
{{{
def __richcmp__(left, right, int op):
return (<Element>left)._richcmp(right, op)
def __cmp__(left, right):
return (<Element>left)._cmp(right)
}}}
Since there are a lot of changes like this to be made, this ticket only
does part of them (in directories where just a few changes needed to be
made).
--
Ticket URL: <http://trac.sagemath.org/ticket/18881>
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.