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

 * status:  needs_review => needs_work


Comment:

 From the patchbot
 {{{
 sage -t --long src/sage/misc/cachefunc.pyx
 **********************************************************************
 File "src/sage/misc/cachefunc.pyx", line 3185, in
 sage.misc.cachefunc.cached_method
 Failed example:
     id(d) == hash(d)
 Expected:
     True
 Got:
     False
 **********************************************************************
 1 item had failures:
    1 of  30 in sage.misc.cachefunc.cached_method
     [830 tests, 1 failure, 15.75 s]
 ----------------------------------------------------------------------
 sage -t --long src/sage/misc/cachefunc.pyx  # 1 doctest failed
 ----------------------------------------------------------------------
 }}}

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