Make sure c-binding expecting char* are passed byte strings (b"",
a.encode())
Move from dict.iteritems() to future.utils.iteritems(dict) for py2/3
compat.
Convert strings to bytes for settings
work towards python2/3 compat
Fix error in device name handling for c-binding
Most of these changes were made in eed1224f27 and 6cdb00c16fa but reverted inadvertently in 650f872c85e. I just put them back and checked it imported nicely on 2 and 3.
Make sure c-binding expecting char* are passed byte strings (b"", a.encode())
Move from dict.iteritems() to future.utils.iteritems(dict) for py2/3 compat.
Convert strings to bytes for settings
work towards python2/3 compat
Fix error in device name handling for c-binding
Most of these changes were made in eed1224f27 and 6cdb00c16fa but reverted inadvertently in 650f872c85e. I just put them back and checked it imported nicely on 2 and 3.