#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, days71                      |    Reviewers:  Vincent Delecroix,
        Authors:  Julian Rueth       |  David Roe
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/saraedum/ticket/15692            |  746dc53e1d767870430a3770eef1159c6534b9b1
   Dependencies:  #16337             |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):

 * status:  positive_review => needs_work


Comment:

 Fails on 32-bit:
 {{{
 sage -t --long src/sage/misc/cachefunc.pyx
 **********************************************************************
 File "src/sage/misc/cachefunc.pyx", line 3161, 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
     [843 tests, 1 failure, 8.96 s]
 }}}

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