I have created a fork of the python-memcached library to add support for other data serialization types.
python-memcacheds supports de-serialization of Pickle, JSON and PHP serialization. It is based off of the current 1.44 version and should future versions be released, I will apply the changes to those subsequent releases. The primary goal of this is to be able to use memcached from multiple languages without regard to serialization. The current version of python-memcached will fail on data that has been serialized in PHP because the PHP PECL library sets the flag to the same value as the Python library. When the Python library goes to de-serialize the data, it will fail on PHP serialized data, expecting pickle serialized data and returning False. I have submitted a patch to the maintainer of python-memcached, should there be interest in applying these changes to the main library. python-memcacheds is available for download at: http://github.com/gmr/python-memcacheds/ Regards, Gavin
