This PR adds Python 3 support, with testing done on Python 3.4.3 and Python 2.7.6.
The defaults of packing and unpacking are modified following the msgpack-python notes on string and binary types, which suggest the use of use_bin_type=True for packing and encoding='utf-8' for unpacking.
This PR adds Python 3 support, with testing done on Python 3.4.3 and Python 2.7.6.
The defaults of packing and unpacking are modified following the msgpack-python notes on string and binary types, which suggest the use of
use_bin_type=True
for packing andencoding='utf-8'
for unpacking.The
range
function replacesxrange
in the tests.