#15692: Value of cached methods should not always be pickled
-------------------------------------+-------------------------------------
       Reporter:  SimonKing          |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-7.0
      Component:  pickling           |   Resolution:
       Keywords:  pickling hash      |    Merged in:
  cache                              |    Reviewers:  Vincent Delecroix
        Authors:  Julian Rueth       |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  e3a7eb4e7ec0852fb058e5455d270067846ea2b6
  u/saraedum/ticket/15692            |     Stopgaps:
   Dependencies:  #16337             |
-------------------------------------+-------------------------------------

Comment (by saraedum):

 Replying to [comment:36 jdemeyer]:
 > Can you replace the `pickle` keyword and attribute to `do_pickle` since
 that more accurately describes the intention.
 Fixed.
 > Also, please explain the reason for changing both the
 pickling/unpickling of the cached function themselves as well as the
 `CacheDict`. It seems that they both solve your problem and I don't see
 why this problem needs to be solved twice.
 You are right. I did look at the (do_)pickle parameter in too many places.

--
Ticket URL: <http://trac.sagemath.org/ticket/15692#comment:40>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to