[PATCH] D67817: [LNT] Python 3 support: adapt to map returning a view

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 20 01:42:25 PDT 2019


thopre created this revision.
thopre added reviewers: cmatthews, hubert.reinterpretcast, kristof.beyls.
thopre added a parent revision: D67816: [LNT] Python 3 support: use int() instead of long().
thopre added a child revision: D67818: [LNT] Python 3 support: adapt to renaming of raw_input to input.

Adapt calls to map() to the fact it returns a view in Python 3. This was
produced by running futurize's stage2 lib2to3.fixes.fix_map.


https://reviews.llvm.org/D67817

Files:
  lnt/external/stats/pstat.py
  lnt/external/stats/stats.py
  lnt/lnttool/main.py
  lnt/server/db/migrate.py
  lnt/server/ui/views.py
  lnt/testing/util/valgrind.py
  lnt/tests/nt.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67817.220975.patch
Type: text/x-patch
Size: 8262 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190920/f7d717e9/attachment.bin>


More information about the llvm-commits mailing list