[Python-ideas] functools.lru_cache manual cache modification
Raymond Hettinger
raymond.hettinger at gmail.com
Wed Dec 3 21:24:30 CET 2014
> On Dec 3, 2014, at 10:22 AM, Ethan Furman <ethan at stoneleaf.us> wrote:
>
> On 12/03/2014 09:11 AM, Raymond Hettinger wrote:
>>
>> Having its own structure also lets the LRU cache neatly deal with
>> multi-threading and re-entrancy so that it does fail in odd ways
>> when used in complex environments.
>
> Hopefully you meant "does _not_ fail in odd ways". ;)
Yes :-)
Raymond
More information about the Python-ideas
mailing list