#11943: The category graph should comply with Python's method resolution order
----------------------------------------------------------+-----------------
   Reporter:  SimonKing                                   |          Owner:  
nthiery                                
       Type:  enhancement                                 |         Status:  
needs_work                             
   Priority:  major                                       |      Milestone:  
sage-4.8                               
  Component:  categories                                  |       Keywords:  
category graph, method resolution order
Work_issues:  use a "_subcategory_hook_" and document it  |       Upstream:  
N/A                                    
   Reviewer:                                              |         Author:  
Simon King                             
     Merged:                                              |   Dependencies:  
#11900                                 
----------------------------------------------------------+-----------------
Changes (by SimonKing):

  * work_issues:  => use a "_subcategory_hook_" and document it


Comment:

 I will add documentation to `sage.categories.primer`. The section in the
 primer on "how to implement a new category" is rather short anyway. It
 even does not explain that one should provide a method `super_categories`
 (it only tells that the order of super-categories should follow certain
 rules), and it does not mention `ParentMethods` and `ElementMethods` at
 all. I'll add that, plus some words on the new `_subcategory_hook_`.

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