On Tue, 2012-12-04 at 10:47 -0500, Chris Lumens wrote:
__str__ method should return byte string, not unicode string. But as we don't have a check in every KS_OBJECT.__str__ method, let's at least add try-except block to prevent UnicodeDecodeError tracebacks.
I think this is okay, but this is the kind of change I would very much like to see some test cases for.
Good idea, I'm sending another patch for that. I guess these two could be squashed before pushing.