Hello,
I am writing a lightweight Tornado based comet server. I would like to store the "self" object in redis to maintain the state.. Will this work?
For a start, i cant even serialize self to be stored in Redis..
This is the error
File "sessionsupport.py", line 27, in get
this = cPickle.dumps(self,1)
File "/home/test/lib/python2.7/copy_reg.py", line 70, in _reduce_ex
raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle instancemethod objects
any suggestions on how i would do this?