@Kevin: Thanks for helping to track down the specific problem! It seems to only happen when the input is a unicode string.
This causes the exception:
>>> unescape(u"Test Test2")
But not this:
>>> unescape("Test Test2")
I'm not really sure why.
@Kevin: Thanks for helping to track down the specific problem! It seems to only happen when the input is a unicode string.
This causes the exception:
>>> unescape(u"Test Test2")
But not this:
>>> unescape("Test Test2")
I'm not really sure why.