mgorny added a comment.

In https://reviews.llvm.org/D30773#696301, @EricWF wrote:

> There seem to be a couple cases where it's non-trivial to convert the output 
> from `bytes` to `str`. I'll look into this further and update.


Generally bytes<->str conversion should be done using `.decode()` and 
`.encode()`, i.e. respecting a particular character encoding in bytes.


https://reviews.llvm.org/D30773



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to