Abpostelnicu added a comment. In https://reviews.llvm.org/D51220#1212463, @JonasToth wrote:
> I don't know a lot about how to write portable code! > > But wouldn't this be out usecase? > http://python-future.org/compatible_idioms.html#file-io-with-open > Using the `decode` is supposed to work in both pythons Yes, indeed, this is more elegant solution! https://reviews.llvm.org/D51220 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits