Yes, that's correct, I don't think the signature should be converted to unicode here. Maybe it should be explicitly set to bytes though, for Python 3.x.