#3783: cached_method could use some improvements
----------------------------+----------------------------------------------
Reporter: mhansen | Owner: mhansen
Type: | Status: needs_review
enhancement | Milestone: sage-duplicate/invalid/wontfix
Priority: minor | Resolution:
Component: misc | Merged in:
Keywords: | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | Stopgaps:
Dependencies: |
----------------------------+----------------------------------------------
Comment (by SimonKing):
Replying to [comment:8 mmezzarobba]:
> Have all the issues mentioned in the description been fixed?
- It does work on C extension types, provided they inherit from `Parent`.
- If I am not mistaken, it is now possible to define a function that does
some preprocessing on the key. Thus, unhashable arguments should be fine,
but certainly not out of the box.
- There is a way to clear the cache. It is a method of the cached method.
- I think the tests do demonstrate that the cache is working.
--
Ticket URL: <http://trac.sagemath.org/ticket/3783#comment:9>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.