[PATCH] D30773: Make git-clang-format python 3 compatible
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 8 23:22:34 PST 2017
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
More information about the llvm-commits
mailing list