[PATCH] D27405: Make sancov.py py3-compatible

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 20 18:02:50 PST 2017


Hans, could you pull 6 of them below into release_40, please?
I checked check-asan runs with py3.

[r294306] sancov.py: [Py3] Use '//' instead of '/' as division operator.
[r294307] sancov.py: [Py3] Use bytes.decode() explicitly.
[r294812] sancov.py: [Py3] Use sys.stdout.buffer for bytes.
[r294880] sancov.py: [Py3] Get rid of "print" statement. Use print() or
write() instead.

[r294303] asan_symbolize.py: [Py3] Use text mode with
universal_newlines=True for Popen.
[r294450] asan_symbolize.py: [Py3] Get rid of "print" statement. Use
print() or write() instead.

On Sun, Feb 12, 2017 at 9:39 AM NAKAMURA Takumi via Phabricator <
reviews at reviews.llvm.org> wrote:

> chapuni added a comment.
>
> Thanks @aizatsky, check-asan is py3-compatible now.
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D27405
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170221/09d9acaa/attachment.html>


More information about the llvm-commits mailing list