[Python-ideas] functools.lru_cache manual cache modification
ethan at stoneleaf.us
Wed Dec 3 23:33:14 CET 2014
On 12/03/2014 02:24 PM, Constantin Berhard wrote:
> On 03.12.2014 22:22, Andrew Barnert wrote:
> I need this to make my decorator compatible with lru_cache.
> It's only 27 lines of code, you may read it if you want to understand my
> problem. (additionally 62 lines of example code)
I think you are missing the point: the internals are not going be made public; you need to write your own custom lru_cache.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: OpenPGP digital signature
More information about the Python-ideas