`__repr__` will keep failing in Python 2.x, but should be possible to get to_string to return unicode so at least the thing can be printed.