python-memcached icon indicating copy to clipboard operation
python-memcached copied to clipboard

a class that defines __slots__ without defining __getstate__ cannot be pickled

Open ghost opened this issue 8 years ago • 1 comments

I get this strange behavior attempting to set a key in memcache using Python 2.7.13. Python 2.7.9 is not affected by this issue.

Traceback: http://www.isotopesoftware.ca/blog/JDJhJDEyJGYzNWJQTGVpRTo2MzE=/view/

Memcached version: 1.4.36 Python-memcache version: 1.57

ghost avatar Jun 30 '17 19:06 ghost

I fixed the problem. See: https://bitbucket.org/tkadm30/django-hotsauce/commits/c0fe48d0f2cbdcca1ed53624d92065cadf61d975

ghost avatar Jun 30 '17 20:06 ghost