Thanks for this fix!
On Feb 16, 12:46 am, Ben Bangert <[EMAIL PROTECTED]> wrote:
> On Feb 15, 2008, at 1:08 PM, Andrew Stromnov wrote:
>
> > Sorry, but I'm don't know. This test case - result of my today
> > experiments of using beaker as a standalone caching facility.
> > Beaker unit test doesn'
> Indeed, this is correct. It appears to be a bug in the cache code, its
> updating the cache retrieval code for new keys when you add settings
> (this is why key3 uses the createfunc), but its not updating it for
> existing keys you've retrieved (which is why key1 fails still later).
Yes. I thin
On Feb 15, 2008, at 1:08 PM, Andrew Stromnov wrote:
Sorry, but I'm don't know. This test case - result of my today
experiments of using beaker as a standalone caching facility.
Beaker unit test doesn't covers this use-case.
I just pushed a change to the beaker tip that fixes this bug. Thanks
Sorry, but I'm don't know. This test case - result of my today
experiments of using beaker as a standalone caching facility.
Beaker unit test doesn't covers this use-case.
PS. Same on my Windows Vista + Python 2.5.1
"""
D:\Projects\third-party\beaker-hg>hg tip
changeset: 103:3cadd895e9a6
branch
On Feb 15, 2008, at 1:08 PM, Andrew Stromnov wrote:
Sorry, but I'm don't know. This test case - result of my today
experiments of using beaker as a standalone caching facility.
Beaker unit test doesn't covers this use-case.
Indeed, this is correct. It appears to be a bug in the cache code, its
On Feb 15, 2008, at 12:53 PM, Andrew Stromnov wrote:
Latest from HG repository. OS - Ubuntu 7.10. Python 2.5.1
Do you know when this began? All the Beaker unit tests, which do this,
still work.
- Ben
smime.p7s
Description: S/MIME cryptographic signature
Latest from HG repository. OS - Ubuntu 7.10. Python 2.5.1
On Feb 15, 8:03 pm, Ben Bangert <[EMAIL PROTECTED]> wrote:
> On Feb 15, 2008, at 5:41 AM, Andrew Stromnov wrote:
>
> > beaker fails with any consequent 'key1' lookup
>
> What version of Beaker are you using?
>
> - Ben
>
> smime.p7s
> 3KDo
On Feb 15, 2008, at 5:41 AM, Andrew Stromnov wrote:
beaker fails with any consequent 'key1' lookup
What version of Beaker are you using?
- Ben
smime.p7s
Description: S/MIME cryptographic signature
beaker fails with any consequent 'key1' lookup
"""
[EMAIL PROTECTED]:~$ cat beaker_test.py
from beaker.cache import CacheManager
def createfunc():
print ' createfunc() called'
cache = CacheManager().get_cache('mycache')
try:
cache.get_value('key1')
print 'cache.get_value("key1") p