[Zope3-dev] Possible bug in zope.app.cache.ram
Shaar Gabriel
gabi at shaargiora.co.il
Wed Mar 7 19:49:27 EST 2007
hi.
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.
More information about the Zope3-dev
mailing list