pylibmc 0.6
Could you elaborate on the nature of the reports (re issues under 64-bit platforms)?
Hello.
Do these 64bit problems remain? Also, is it possible to use this lib as the memcache interface in django?
Thanks.
I don't know, because I never successfully reproduced them.
They were never entirely confirmed either -- we just noted that our Python processes had terminated, it could be a lot of things.
So please do give them a try.
As for Django, yes. You'd want to copy the memcached cache backend and replace the library used with pylibmc, and it should work out of the box.
In the latest build of pylibmc, there's a bug when reading/writing boolean values. The code below produces an error retrieving the value from cache.
import pylibmc
client = pylibmc.Client(['127.0.0.1:11211'])
client.set('foo', True)
client.get('foo')
I solved this in my setup by wrapping pylibmc and converting any bool values to ints prior to calling client.set().
any chance the pylibmc will support memcached_cas
pylibmc crashes the Python interpeter with a segmentation fault on Snow Leopard (which is a 64bit OS). This is done after some usage (like 5000 operations).
