#11935: Make parent/element classes independent of base rings
-----------------------------------------------------------------+----------
       Reporter:  SimonKing                                      |         
Owner:              
           Type:  enhancement                                    |        
Status:  needs_review
       Priority:  major                                          |     
Milestone:  sage-5.0    
      Component:  categories                                     |    
Resolution:              
       Keywords:  parent class, element class, category          |   Work 
issues:              
Report Upstream:  N/A                                            |     
Reviewers:              
        Authors:  Simon King                                     |     Merged 
in:              
   Dependencies:  #9138, #11900, #11943, #12875, #12876, #12877  |      
Stopgaps:              
-----------------------------------------------------------------+----------

Comment (by SimonKing):

 Hi Nicolas,

 I was about to create a reviewer patch. But I am afraid ''the same''
 problem creped back in sage/rings/polynomail/multi_polynomial_sequence.py.
 In other words: When I have a weak cache on dynamic classes, then the
 double free occurs in crypto/mq/mpolynomialsystem.py, but when I have a
 strong cache, then the double free occurs in
 rings/polynomial/multi_polynomial_sequence.py (but again in a test
 involving polynomial systems!).

 I have a preference for a weak cache, and since apparently the weak cache
 as such is ''not'' to blame for the error, I need to look somewhere else.
 Perhaps there is some `UniqueRepresentation` in mpolynomialsystem.py that
 needs a strong cache. If that turns out to be correct, then I will do the
 necessary change in #12215.

 Apart from that: I will be away until Monday as well.

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