#18329: Inherit __richcmp__ and __cmp__ in subclasses of Element
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.7
      Component:  coercion           |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jeroen Demeyer     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jdemeyer/ticket/18329            |  4b08519ef79528cce58738b501751f1d5db9f519
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 Can you tell how it actually works?

 Background of my question: I was about to open a ticket for "using Cython
 and the coercion model on combinatorial free modules". When I searched
 "cython combinatorial free module" on trac, your ticket was among the
 first hits. And of course, when cythoning the elements of a combinatorial
 free module, `__cmp__`  and `__richcmp__` would still be copied rather
 than inherited from sage.structure.element.

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