Export to GitHub

keepnote - issue #621

fixed a bug in keepnote/cache.py


Posted on Sep 22, 2012 by Massive Elephant

in the method DictCache.getitem(key), it use self._cache_dict.get(key, NULL) to get value, but LRUDict direct subclass the builtin dict, the get()/set() does not function correctly. I reimplement the LRUDict as a subclass of collections.MutableMapping. Not sure if it is a bug, or I am wrong.

Reference:

Attachments

Status: New

Labels:
Type-Defect Priority-Medium