Closed mgedmin closed 5 years ago
Where we know we have bytes, we can call bytes.decode() directly.
The one place where we don't know what we have, we'll have to keep calling unicode(). (That place is handling string exceptions AFAICT, which are not allowed on Python 3.)
Where we know we have bytes, we can call bytes.decode() directly.
The one place where we don't know what we have, we'll have to keep calling unicode(). (That place is handling string exceptions AFAICT, which are not allowed on Python 3.)