Raymond Hettinger <rhettin...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue10586> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com