pylibmc now on GitHub!
My Python bindings for the memcached client library libmemcached is now on GitHub, for your forking needs.
They're fast as hell too, just like the C-level library is.
And guess what? It doesn't even use ctypes!
Why is not using ctypes a feature? Not using ctypes but going for a 'normal' C extension means that your code won't work with PyPy, Jython or IronPython.
Because ctypes has a host of problems of its own.
One of the problems is that sometimes, to find library paths, it needs to execute subprocesses. This, linked with using a mod_wsgi-style deploy, means a parent daemon might reap child processes before ctypes' Python code gets a chance (SIGCHLD.)
Another problem is that it won't get you compile-time warnings. Also, it'll be hopping between Python and C a lot - causing a slight performance penalty.
And lastly, the major one, is that Python works well with C extensions, and that C libraries work well with C extensions. Not so much for ctypes if you ask me.
