rtmidi-python
rtmidi-python copied to clipboard
handle python3 unicode string coercion
I was hitting errors in python3.4 -- looks to me like py3's default unicode string behavior was failing to be coerced to cpp strings. This PR adds explicit encoding/decoding based on a check of PY_MAJOR_VERSION
. It also includes a tox.ini
file to make it easier to run py2 & py3 tests using tox.
This is my first time messing with Cython, so apologies for any awkwardness.