Skip to content
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

Getting DeprecationWarning on decode function. #27

Closed
ardzoht opened this issue Jul 10, 2018 · 1 comment
Closed

Getting DeprecationWarning on decode function. #27

ardzoht opened this issue Jul 10, 2018 · 1 comment

Comments

@ardzoht
Copy link

ardzoht commented Jul 10, 2018

Using the decode function on message objects, I'm getting the following message constantly...

DeprecationWarning: The binary mode of fromstring is deprecated, as it behaves surprisingly on unicode inputs. Use frombuffer instead
dtype=np.dtype(descr)).reshape(obj[b'shape'])

Should it use frombuffer function from now on?

@lebedov
Copy link
Owner

lebedov commented Jul 11, 2018

Sure - updated.

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

No branches or pull requests

2 participants