New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MsgPack exception - use_list=False #380
Comments
Hi, I'm working on #379. This will allow you to pass the
Regarding
If I encode a string, I want a string to be returned. Right now using |
Thanks. I love the implementation. I guess I am used to getting the bytes string back having used |
Glad its useful. What do you mean by "getting an error"? |
Sorry for being vague. I worked through the exception and do not have it in
front of me. Effectively it was something like this:
UnicodeDecodeError: codec can't decode byte 0xde in position 0
…On Tue, Jan 23, 2018 at 9:39 PM Manuel Miranda ***@***.***> wrote:
Glad its useful.
What do you mean by "getting an error"? encoding=utf-8 is still a valid
pattern in 0.5.1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#380 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAKJfVohsbFYp9PMLVjuwK-iOlWbwix9ks5tNjVpgaJpZM4RoSN1>
.
|
Closing until we get more data to investigate |
I know you removed the
use_list
option in theloads
method when deserializing. See #370However, I think it should be added back, even with an overwritable default. Without it, it will cause a difficult to diagnose exception.
Second, I see you added the
encoding
option. It looks like that is being depracated: https://github.com/msgpack/msgpack-python#deprecating-encoding-optionI would suggest going back to
Furthermore, I am trying to use it with a simple string loaded serializer:
aiocache.serializers.MsgPackSerializer
. Which, to me means adding some sensible defaults.The text was updated successfully, but these errors were encountered: