[PATCH] D55829: LLVM Test suite Python 2/3 compatibility
serge via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 18 09:48:05 PST 2018
serge-sans-paille added a comment.
@michaelplatings : some of the non trivial changes are just here to make it easier to write the compatible code. e.g.
for f in range(len(dbg_line_items)):
fname = dbg_line_items[f][0]
fset = dbg_line_items[f][1]
forces `dbg_line_items` to be a list, while
for fname, fset in dbg_line_items:
is compatible with both list and generators
Repository:
rT test-suite
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55829/new/
https://reviews.llvm.org/D55829
More information about the llvm-commits
mailing list