[Python-ideas] functools.lru_cache manual cache modification

Ethan Furman ethan at stoneleaf.us
Wed Dec 3 19:22:40 CET 2014


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".  ;)

--
~Ethan~

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20141203/8261353f/attachment.sig>


More information about the Python-ideas mailing list