• Jeremy Hylton's avatar
    Remove Py_INCREF and Py_DECREF for objects in doubly linked list. · 312ae41b
    Jeremy Hylton authored
    The cache is intended to keep weak references to objects.  An object
    should be deallocated when the only references to it are in the
    cache.  If an object is unghostified and added to the list of live
    objects, the list should have a borrowed reference.  Otherwise, the
    cache will keep the object alive after all other references have
    disappeared.
    312ae41b
cPersistence.c 21.5 KB