lebedov / msgpack-numpy

Serialize numpy arrays using msgpack
Other
194 stars 33 forks source link

Getting DeprecationWarning on decode function. #27

Closed ardzoht closed 6 years ago

ardzoht commented 6 years ago

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 commented 6 years ago

Sure - updated.