[PATCH] D43165: [lit] Fix problem in how Python versions open files with different encodings

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 10:47:28 PST 2018


MatzeB added a comment.

'Latin-1' seems completely arbitrary and wrong to me. You should rather try to get a stream of bytes rather than have python try to decode the file.


Repository:
  rL LLVM

https://reviews.llvm.org/D43165





More information about the llvm-commits mailing list