[issue10586] Enhanced cache access API for functools.lru_cache
Raymond Hettinger
report at bugs.python.org
Tue Nov 30 06:17:53 CET 2010
Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:
Okay, go ahead with the second patch.
With the following changes:
_CacheInfo = namedtuple("CacheInfo", "maxsize size hits misses")
Change the variable names:
cache_hits --> hits
cache_misses --> misses
Add a "with lock:" to the cache_info() function.
Update the docs.
Thanks.
----------
assignee: rhettinger -> ncoghlan
resolution: -> accepted
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10586>
_______________________________________
More information about the Python-bugs-list
mailing list