On 2020-08-28, Chris Green <c...@isbd.net> wrote: > Maybe I shouldn't but Python 2 has been managing to do so for several > years without any issues. I know I *could* put the exceptions in a > bucket somewhere and deal with them separately but I'd really rather > not.
Then just leave it as bytes and do whatever processing you used to do on the bytes instead of trying to converting it to a string. What is it you're doing that you think requires it be converted to a string? -- Grant -- https://mail.python.org/mailman/listinfo/python-list