Uh oh!
There was an error while loading. Please reload this page.
accept binary key for python2 - #427
Conversation
lukebakken
commented
Jan 26, 2016
@javajolt - I assume there is a historical reason for this. Perhaps something to do with HTTP vs PB ? |
hazen
commented
Jan 26, 2016
@lukebakken There was a restriction historically for forcing the keys to be ASCII, before my time. It seems that Python2 is quite limited in its understanding of strings. Once you start to get into the Unicode realm it escapes things. Python 3 just has binaries. My guess is that some of the HTTP string representations might not work with the |
lukebakken
commented
Jan 26, 2016
@hamano - we can't accept this Pull Request without much, much more investigation. At this time yours is the only request to support this feature. |
hamano
commented
Jan 27, 2016
I've already seen basho/riak#415 |
We can't store binary key such as 0x80(0x79 is OK).
Is there any reason to restrict binary key?
test code