#13922: Avoid a regression in the creation of homsets
-------------------------------+--------------------------------------------
       Reporter:  SimonKing    |         Owner:  tbd         
           Type:  defect       |        Status:  needs_review
       Priority:  critical     |     Milestone:  sage-5.6    
      Component:  performance  |    Resolution:              
       Keywords:               |   Work issues:              
Report Upstream:  N/A          |     Reviewers:              
        Authors:  Simon King   |     Merged in:              
   Dependencies:  #715         |      Stopgaps:              
-------------------------------+--------------------------------------------

Comment (by robertwb):

 I think metaclasses are only supported for non-cdef classes.  (This should
 probably be a compile-time error rather than silently ignoring it.)

 There's also sage.structure.factory.UniqueFactory.  It may also be worth
 holding a strong reference to the last N (for some small N) parents
 created to avoid creating the same one over and over.

 In any case, this isn't a regression, so I'd be happy to get this fix in
 and post a follow-up ticket to ensure uniqueness.

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