#9429: Undesirable behaviour when deriving from QuotientRingElement
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:  AlexGhitza
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.3
      Component:  algebra            |   Resolution:
       Keywords:  sd59               |    Merged in:
        Authors:  Volker Braun,      |    Reviewers:
  Travis Scrimshaw                   |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  a6c4a1f251774b99b417e5a7aaec3c68dc0eb1b2
  public/ticket/quotient_ring_element-9429|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Volker Braun, Travis Scrimshaw', 'oldvalue': ''}):

 * keywords:   => sd59
 * commit:   => a6c4a1f251774b99b417e5a7aaec3c68dc0eb1b2
 * status:  needs_work => needs_review
 * branch:   => public/ticket/quotient_ring_element-9429
 * author:   => Volker Braun, Travis Scrimshaw


Comment:

 I've "reverted" back to using the `self.__class__(self.parent(), x)` since
 this (as I remember) is the "correct" way to do things as it does not go
 through the coercion model. So can someone check to make sure this is
 good?
 ----
 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=a6c4a1f251774b99b417e5a7aaec3c68dc0eb1b2
 a6c4a1f]||{{{Changed self.parent()(x) to self.__class__(self.parent(),
 x).}}}||

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