i think i found a bug in zope.app.cache.ram

if an entry is added to the cache without having a miss first (for example to 
cache in advance some long calculation that is going to be looked up in the 
near furutre anyway), then the miss counter for that object doesn't exist, 
and getStaistics in ram.py raises a KeyError, which causes the statistics 
browser view for the ram cache to fail.
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to