Hi,<br>I installed the memcachedb with BerkelyDB and libevent. I am using the latest python 1.4 client.<br>If I set an integer and get it I get a string. Is this the expected behavior? And for a list I get serialized data......
<br><br>this is how i started the memcachedb:<br>sudo env LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.6/lib ./memcachedb -p 22222 -l <a href="http://127.0.0.1">127.0.0.1</a> -f database.db -H /home/mark/Desktop/junk/memcachedb-
0.0.4 -u mark -P memcache.pid -d <br><br>from python shell....:<br><br>>>> mc = memcache.Client(['<a href="http://127.0.0.1:22222">127.0.0.1:22222</a>'])<br>>>> mc.set('1', 0)<br>True<br>
>>> mc.get('1')<br>'0'<br>>>> mc.set('key', 100)<br>True<br>>>> mc.get('key')<br>'100'<br>>>> a=mc.get('key')<br>>>> type(a)<br>
<type 'str'><br>>>> mc.incr('key')<br>101<br>>>> mc.decr('key')<br>100<br>>>> a=mc.get('key')<br>>>> a<br>'100'<br>>>> mc.incr('key')
<br>101<br>>>> a=mc.get('key')<br>>>> a<br>'101'<br>>>> mc.set('key',[1])<br>True<br>>>> mc.get('key')<br>'(lp1\nI1\na.'<br><br>