Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

multi_get/multi_set Incompatible with Python 3.6 #10

Open
leorochael opened this issue Aug 1, 2019 · 0 comments
Open

multi_get/multi_set Incompatible with Python 3.6 #10

leorochael opened this issue Aug 1, 2019 · 0 comments

Comments

@leorochael
Copy link

Python 3.6 has no .format() method on the bytes object ('b'strings'), but the multi_* methods try to format a prefix using it.

Additionally, on Python 3, str is unicode, but the multi_* methods are creating prefixed keys by interpolating a bytes string and, in the no-prefix case, with an empty bytes prefix, which raises an error on the multi_set() case and generates an incompatible key since b'foo' != u'foo'.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant