[issue9396] Standardise (and publish?) cache handling in standard library

Nick Coghlan report at bugs.python.org
Sun Aug 8 17:44:04 CEST 2010


Nick Coghlan <ncoghlan at gmail.com> added the comment:

With Raymond adding functools.lru_cache and functools.lfu_cache, it should be possible to use those for the various caches in the standard library.

My only point of concern is that the standard lib caches tend to allow dynamic modification of the max cache size, while the new cache decorators appear to be fixed at the size specified when defining the decorator.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9396>
_______________________________________


More information about the Python-bugs-list mailing list