#18329: Inherit __richcmp__ and __cmp__ in subclasses of Element
------------------------------------------+------------------------
       Reporter:  jdemeyer                |        Owner:
           Type:  enhancement             |       Status:  new
       Priority:  major                   |    Milestone:  sage-6.7
      Component:  coercion                |   Resolution:
       Keywords:                          |    Merged in:
        Authors:  Jeroen Demeyer          |    Reviewers:
Report Upstream:  N/A                     |  Work issues:
         Branch:                          |       Commit:
   Dependencies:  #18321, #18322, #18330  |     Stopgaps:
------------------------------------------+------------------------
Changes (by jdemeyer):

 * commit:  3bb7361e82b304d4e81d73ad1372670bf2a9da4c =>
 * dependencies:  #17890, #18321, #18322, #18330 => #18321, #18322, #18330
 * branch:  u/jdemeyer/inherit_richcompare =>


Old description:



New description:

 Use the `__typeinit__` mechanism introduced by #18330 to inherit `__cmp__`
 and `__richcmp__` even if those would not be inherited by default.

--

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