#9138: Categories for all rings
--------------------------------------------------------------+-------------
   Reporter:  jbandlow                                        |          Owner: 
 nthiery                                               
       Type:  defect                                          |         Status: 
 needs_work                                            
   Priority:  major                                           |      Milestone: 
 sage-4.7.1                                            
  Component:  categories                                      |       Keywords: 
 introspection, categories for rings                   
Work_issues:  Fix doctest errors created by the second patch  |       Upstream: 
 N/A                                                   
   Reviewer:                                                  |         Author: 
 Simon King                                            
     Merged:                                                  |   Dependencies: 
 sage-4.7, #11268, #11139, #9976, #9944, #11269, #11316
--------------------------------------------------------------+-------------

Comment(by SimonKing):

 Replying to [comment:85 SimonKing]:
 > Snap diagnose: #11316 changed when the term order is created, and I
 changed the order of things as well. In consequence, variable names are
 assigned twice, which yields an error.

 I don't know what other ticket was creating the conflict (it has not been
 #11316, sorry for that). Anyway, the problem is that
 `MPolynomialRing_generic.__init__` was calling `ParentWithGens.__init__`
 first, and then `Ring.__init__`. By consequence, name assignment is tried
 ''twice'' - which is not allowed.

 I am currently running the doc tests (the two tests that previously failed
 are now fine), and if it succeeds then I'll update both patches.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9138#comment:86>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to