#17814: Make calling a cached method independent of source code inspection
--------------------------------+----------------------------
       Reporter:  SimonKing     |        Owner:
           Type:  defect        |       Status:  needs_review
       Priority:  major         |    Milestone:  sage-6.6
      Component:  distribution  |   Resolution:
       Keywords:                |    Merged in:
        Authors:  Simon King    |    Reviewers:
Report Upstream:  N/A           |  Work issues:
         Branch:                |       Commit:
   Dependencies:                |     Stopgaps:
--------------------------------+----------------------------
Changes (by {'newvalue': u'Simon King', 'oldvalue': ''}):

 * status:  new => needs_review
 * branch:
u/SimonKing/make_calling_a_cached_method_independent_of_source_code_inspection
     =>
 * author:   => Simon King


Comment:

 I have attached a branch. If you have a cached method without arguments in
 a cython file and remove the sources before starting sage, then both
 accessing and calling the method should work. If you have a cached method
 ''with'' arguments in a cython file and remove the sources before starting
 sage, then accessing the method works, but calling would still not work.
 Methods in Python files should not be affected.

 I don't know how to write a meaningful doctest for it (and also I didn't
 run the testsuite). Anyway, perhaps you can comment whether you think that
 it is a solution to the problem, or at least a step in the right
 direction.

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

Reply via email to