This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients georg.brandl, ncoghlan, rhettinger
Date 2010-11-30.05:17:49
SpamBayes Score 0.000337367
Marked as misclassified No
Message-id <1291094273.17.0.28303259645.issue10586@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-11-30 05:17:53rhettingersetrecipients: + rhettinger, georg.brandl, ncoghlan
2010-11-30 05:17:53rhettingersetmessageid: <1291094273.17.0.28303259645.issue10586@psf.upfronthosting.co.za>
2010-11-30 05:17:49rhettingerlinkissue10586 messages
2010-11-30 05:17:49rhettingercreate