#11115: Rewrite cached_method in Cython
---------------------------+------------------------------------------------
Reporter: SimonKing | Owner: jason
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.7
Component: misc | Keywords: category cython cache
Work_issues: | Upstream: N/A
Reviewer: | Author: Simon King
Merged: | Dependencies:
---------------------------+------------------------------------------------
Comment(by SimonKing):
I just noticed that the additional attribute for parents could actually
serve a third purpose: Providing lazy attributes for parent extension
classes!
Namely, lazy attributes rely on the possibility to assign attributes. At
least in the case of parent classes, if attribute assignment is
impossible, they could do the next best thing and store stuff in
`__cached_methods`!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11115#comment:38>
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.