#13394: Write a WeakValueDictionary with safer key removal
-------------------------------------+-------------------------------------
       Reporter:  nbruin             |        Owner:  rlm
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-5.13
      Component:  memleak            |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Simon King, Nils   |    Reviewers:  Simon King
  Bruin                              |  Work issues:
Report Upstream:  None of the above  |       Commit:
  - read trac for reasoning.         |  851cc9522dde332561101f1c84182a0a84b8eed4
         Branch:                     |     Stopgaps:
  u/SimonKing/ticket/13394           |
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by nbruin):

 OK, I updated my local git repository but can't push it to the ticket here
 (I can't push it anywhere), so I've attached the changed file. git commit
 log:
 {{{
 commit dbeb58ba955ebfe9b37d4241871e0d8f41b20a1d
 Author: Nils Bruin <[email protected]>
 Date:   Thu Oct 31 12:16:11 2013 -0700

     documentation and clean-up of del_dictitem_by_exact_value.
     In particular:
      - add a hash check so that behaviour is a little better defined
      - include a stress test to verify that it behaves as documented
      - put a test on WeakValueDictionary to verify that deferred callbacks
 that
        become invalidated are dealt with appropriately.
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/13394#comment:65>
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/groups/opt_out.

Reply via email to