pylibmc 0.6

It's me again, and anothe release of pylibmc has been made.

As usual, check it out on PyPI: http://pypi.python.org/pypi/pylibmc

Also, I would like to note that there have been reports of issues with pylibmc under 64-bit platforms. (See, I'm honest like that.)

Comments
Posted by: mocsrox §

Could you elaborate on the nature of the reports (re issues under 64-bit platforms)?

2009-04-24 @ 00:22:17
Posted by: André Cruz §

Hello.

Do these 64bit problems remain? Also, is it possible to use this lib as the memcache interface in django?

Thanks.

2009-05-28 @ 12:38:31
URL: http://andre.cabine.org/
Posted by: Ludvig Ericson §

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.

2009-05-28 @ 15:12:47
URL: http://lericson.blogg.se/code/
Posted by: §

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().

2009-06-10 @ 22:22:01
Posted by: peter §

any chance the pylibmc will support memcached_cas

2009-07-04 @ 19:38:20
Posted by: amix §

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).

2009-09-03 @ 10:23:01
URL: http://amix.dk/

Comment the entry:

Name: (required, possibly pseudonym)
Remember me (cookie)

E-mail: (not required, never published, solely for me to reply to you in person)

URL:

Comment:

RSS 2.0