Message122879
As per private email to Raymond, I would like to move the lru_cache access attributes and methods into a CacheInfo class, exposed as a "cache" attribute with several methods and read-only properties.
Read-only properties: hits, misses, maxsize
Methods: clear(), __len__()
As an implementation detail, cache_misses and cache_hits become nonlocal variables rather than attributes of the wrapper function.
Priority set to high, since the current API will be locked in as soon the first beta goes out. |
|
Date |
User |
Action |
Args |
2010-11-30 04:12:09 | ncoghlan | set | recipients:
+ ncoghlan, georg.brandl, rhettinger |
2010-11-30 04:12:09 | ncoghlan | set | messageid: <1291090329.24.0.356278659224.issue10586@psf.upfronthosting.co.za> |
2010-11-30 04:12:04 | ncoghlan | link | issue10586 messages |
2010-11-30 04:12:04 | ncoghlan | create | |
|