Closed Tronic closed 4 years ago
The msgpack defaults were explicitly changed in msgpack-numpy to provide more seamless behavior for both Python 2 and 3 in light of the differences in how they each handle string types. Given that Python 2 is now EOL, it seems safer to revert to the msgpack defaults.
This module should not override the msgpack default parameters with
use_bin_type=0
andraw=True
like it does. This causes UnicodeDecodeErrors and will also mix up str and bytes types elsewhere. Manually specifyinguse_bin_type=True
andraw=False
avoids the problems: