[PATCH] D67587: [LNT] Python 3 support: Update type comparisons and type names

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 14 09:43:20 PDT 2019


hubert.reinterpretcast created this revision.
hubert.reinterpretcast added reviewers: cmatthews, thopre, kristof.beyls.

This patch is split out from D67535 <https://reviews.llvm.org/D67535>, updating type names (or in one case `type(1.4)`-style goodness) and updating type comparisons with use of `isinstance`. Additionally, changed a dictionary key lookup for a type mapping.

As requested by reviewers in D67535 <https://reviews.llvm.org/D67535>, spaces are added after commas in what are now tuples of types.


https://reviews.llvm.org/D67587

Files:
  lnt/external/stats/pstat.py
  lnt/external/stats/stats.py
  lnt/server/db/regression.py
  lnt/server/ui/api.py
  lnt/server/ui/app.py
  lnt/tests/nt.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67587.220222.patch
Type: text/x-patch
Size: 44425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190914/403b898a/attachment.bin>


More information about the llvm-commits mailing list