#12601: @cached_method does not work for special methods
---------------------------+------------------------------------------------
   Reporter:  saraedum     |          Owner:  jason                             
            
       Type:  enhancement  |         Status:  new                               
            
   Priority:  minor        |      Milestone:  sage-5.0                          
            
  Component:  misc         |       Keywords:  cached_method, cache, operator, 
special method
Work_issues:               |       Upstream:  Reported upstream. Little or no 
feedback.     
   Reviewer:               |         Author:                                    
            
     Merged:               |   Dependencies:                                    
            
---------------------------+------------------------------------------------

Comment(by SimonKing):

 Replying to [comment:3 saraedum]:
 > I didn't consider you "upstream" - I reported it to sage-release.

 I see - or better, I didn't see: I am not regularly reading that list...

 Anyway. I think it would be nice to have a mechanism to make use of the
 cached_method decorator for magical Python methods such as `__invert__` or
 `__hash__`.

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