#10667: Morphisms and Objects of Categories
--------------------------------------------------+-------------------------
   Reporter:  SimonKing                           |          Owner:  nthiery    
                  
       Type:  enhancement                         |         Status:  needs_work 
                  
   Priority:  major                               |      Milestone:  sage-5.0   
                  
  Component:  categories                          |       Keywords:  objects 
morphisms containment
Work_issues:  Cope with non-unique number fields  |       Upstream:  N/A        
                  
   Reviewer:                                      |         Author:  Simon King 
                  
     Merged:                                      |   Dependencies:  #9138, 
#11115, #11780        
--------------------------------------------------+-------------------------

Comment(by nthiery):

 Replying to [comment:59 SimonKing]:
 > And `_reduce_from_homset_cache` is only for those parents that
 >  happen to belong to the category of rings. That's why I write "try
 >  ... (which would ... only be available for rings)". It would not be
 >  available for non-rings, and in particular not for non-parents. So,
 >  no problem, the attribute error would be caught anyway.

 Yes, it would work. Yet, in a perfect world, UniqueRepresentation
 ought to be generalized outside of Sage, as a general purpose Python
 tool (even though I am not sure anyone will take the time for
 that). So having some logic in there specifically targetted toward
 homsets smells. But maybe it's just a question of finding a more
 general name for this hook.

 > No, it could not, because most parents are no `UniqueRepresentation`s.

 Good point :-)

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