• Jeremy Hylton's avatar
    Remove big whole in cc_getattr(). · 9cfb84f3
    Jeremy Hylton authored
    Only expose the items attribute of the special dict inside the cache.
    Exposing other methods that mutate the dict is dangerous, because of
    the ref count games the cache plays.
    9cfb84f3
cPickleCache.c 27.3 KB