You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.
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'.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Python 3.6 has no
.format()
method on thebytes
object ('b'strings'), but themulti_*
methods try to format a prefix using it.Additionally, on Python 3,
str
isunicode
, but themulti_*
methods are creating prefixed keys by interpolating abytes
string and, in the no-prefix case, with an emptybytes
prefix, which raises an error on themulti_set()
case and generates an incompatible key sinceb'foo' != u'foo'
.The text was updated successfully, but these errors were encountered: