DavidAlphaFox / memlink

Automatically exported from code.google.com/p/memlink
0 stars 1 forks source link

Python Client API insert(self, key, value, maskstr, pos), key & value can't be binary #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Python Client API insert(self, key, value, maskstr, pos), key & value can't be 
binary

for example:
k = struct.pack('I',1)
m.create_list(k,4,"1")

Original issue reported on code.google.com by Mr.Brigh...@gmail.com on 26 May 2011 at 8:44

GoogleCodeExporter commented 9 years ago
I found the problem before,

python binary string convert to char* maybe error ...

Original comment by zhaowei...@gmail.com on 27 May 2011 at 2:19