upverter/python-kyototycoon — pull request #3 by danielfbento (2013-09-20 17:21:07+00:00)
Title: kt_http.py crashes when we are getting an empty key value

I was using python-kyototycoon library and I found this little situation which I think as an issue:

my kyototycoon was running using a normal initialization:

$ktserver -port 2001 -li

after that, i did:

$ ktremotemgr set -port 2001 a "" ("" an empty string)

it doesn't give any error and after that, typing:
$ ktremotemgr get -port 2001 a
(empty string)

it returns an empty string (like i set)

I supose that python-kyototycoon should has the same behavior, but it doesn't because pickles.loads(data) throw and EOFError, crashing my script

But if the original behavior of kyoto is to return an empty string, should python return the same value?

What do you think?