rtmidi-python icon indicating copy to clipboard operation
rtmidi-python copied to clipboard

handle python3 unicode string coercion

Open sbma44 opened this issue 8 years ago • 0 comments

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.

sbma44 avatar Mar 20 '16 15:03 sbma44