#11935: Make parent/element classes independent of base rings and the  category
graph consistent with method resolution
---------------------------+------------------------------------------------
   Reporter:  SimonKing    |          Owner:  nthiery                           
   
       Type:  enhancement  |         Status:  new                               
   
   Priority:  major        |      Milestone:  sage-4.7.3                        
   
  Component:  categories   |       Keywords:  parent class, element class, 
category
Work_issues:               |       Upstream:  N/A                               
   
   Reviewer:               |         Author:                                    
   
     Merged:               |   Dependencies:  #11900                            
   
---------------------------+------------------------------------------------

Comment(by nthiery):

 Replying to [comment:2 SimonKing]:
 > A problem may be seen in pickling. Before explaining the problem, let me
 remark that I don't see a big concern for "pickling a parent class":

 True: all parents ought to be pickled "by construction" rather than by
 "class + internal data", in order to encapsulate as much as possible
 of the data structure. This probably ought to be true as well for
 elements. I don't know how far we are from this.

 A good thing to do at this point would be to search through the sage
 pickle jar for how many parent_class's and element_class's are pickled
 there. And why. I don't know how complicated it is to do this search
 though.

 Among the three propositions, I like 3 best. I have trouble evaluating
 how big the risks are to get stuck in the future. It does not seem too
 big.

 Thanks Simon for investigating this!

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