#11794: Optional cythonised cached hash for Python classes
----------------------------------+-----------------------------------------
       Reporter:  SimonKing       |         Owner:  jason       
           Type:  enhancement     |        Status:  needs_review
       Priority:  major           |     Milestone:  sage-5.0    
      Component:  misc            |    Resolution:              
       Keywords:                  |   Work issues:              
Report Upstream:  N/A             |     Reviewers:              
        Authors:  Simon King      |     Merged in:              
   Dependencies:  #11115, #11791  |      Stopgaps:              
----------------------------------+-----------------------------------------

Comment (by SimonKing):

 Replying to [comment:9 SimonKing]:
 > Hence, #8119 is no duplicate, but weakly related.

 On the other hand: If one would use the metaclass provided by my patch ALL
 OVER THE PLACE in Sage, then one could solve #8119 by simply starting the
 rename() method by calling `hash(self)`. Then, the hash would be computed
 and cached before renaming, and thus the cached hash value would not
 change when renaming.

 However, applying the metaclass everywhere is probably a very bad idea.
 The intention of this ticket really is to just provide a new
 '''optional''' feature.

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