• Tim Peters's avatar
    Merge rev 37713 from 3.4 branch. · d6f61513
    Tim Peters authored
    Plug leaks in the ZEO client cache.
    
    ClientCache._evicted():  When deleting the last range of
    non-current tids for an oid, remove the list from the
    noncurrent dict instead of leaving an empty list sitting
    there forever.  This also required adjusting the side-
    effect dance in ClientCache._remove_noncurrent_revisions().
    
    FileCache._makeroom():  This was the major leak -- it
    neglected to remove an evicted object's Entry from the
    key2entry dict.
    d6f61513
cache.py 42.2 KB