#9944: categories for polynomial rings
----------------------------------------------+-----------------------------
   Reporter:  robertwb                        |       Owner:  nthiery   
       Type:  defect                          |      Status:  needs_info
   Priority:  major                           |   Milestone:  sage-4.7  
  Component:  categories                      |    Keywords:            
     Author:  Robert Bradshaw                 |    Upstream:  N/A       
   Reviewer:  Nicolas M. ThiƩry, Mike Hansen  |      Merged:            
Work_issues:                                  |  
----------------------------------------------+-----------------------------

Comment(by SimonKing):

 Replying to [comment:17 SimonKing]:
 > A similar issue has been studied at #10467. It seems to be important
 that an attribute error is raised as quickly as possible. That becomes
 difficult, if 60 parent classes need to be searched, before one eventually
 finds that the requested attribute does not exist.

 No, that is not the problem here! I was inserting print statements into
 `getattr_from_other_class` in order to find out what attributes are
 actually requested from the category when doing arithmetic. It turned out
 that, during the first computation of `(2*x-1)^2+5`, some attributes are
 requested. But when one repeats that computation,
 `getattr_from_other_class` is ''not'' involved.

 But what else could be the reason?

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