[Python-Dev] new LRU cache API in Py3.2
Antoine Pitrou
solipsis at pitrou.net
Sat Sep 4 20:20:34 CEST 2010
On Sat, 4 Sep 2010 09:21:25 -0500
Daniel Stutzbach <daniel at stutzbachenterprises.com> wrote:
>
> I have been using a similar LRU cache class to store items retrieved from a
> database. In my case, a decorator-paradigm wouldn't work well because I
> only want to cache a few of the columns from a much larger query, plus there
> are multiple functions that want to talk to the cache.
Well, perhaps lru_cache() would have deserved a review before
committing?
Regards
Antoine.
More information about the Python-Dev
mailing list