[PATCH] D67814: [LNT] Python 3 support: adapt to dict method returning views
Thomas Preud'homme via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 20 01:34:44 PDT 2019
thopre created this revision.
thopre added reviewers: cmatthews, hubert.reinterpretcast, kristof.beyls.
Adapt calls to dictionary's keys(), items() and values() to them
returning a view in Python 3. Also replace calls to their iter relatives
to use iter() instead and calls to the their views relatives to use the
plains .keys(), .items() and .values(). This was produced by running
futurize's stage2 lib2to3.fixes.fix_dict.
https://reviews.llvm.org/D67814
Files:
examples/run_to_csv.py
lnt/lnttool/admin.py
lnt/server/config.py
lnt/server/db/rules/rule_update_fixed_regressions.py
lnt/server/db/rules_manager.py
lnt/server/db/testsuite.py
lnt/server/db/testsuitedb.py
lnt/server/reporting/analysis.py
lnt/server/reporting/dailyreport.py
lnt/server/reporting/summaryreport.py
lnt/server/ui/api.py
lnt/server/ui/filters.py
lnt/server/ui/profile_views.py
lnt/server/ui/regression_views.py
lnt/server/ui/util.py
lnt/server/ui/views.py
lnt/testing/__init__.py
lnt/testing/profile/perf.py
lnt/testing/profile/profile.py
lnt/testing/profile/profilev2impl.py
lnt/tests/compile.py
lnt/tests/nt.py
lnt/tests/test_suite.py
lnt/util/ImportData.py
lnt/util/multidict.py
lnt/util/wsgi_restart.py
tests/SharedInputs/FakeCompilers/fakecompiler.py
tests/server/ui/V4Pages.py
tests/server/ui/test_roundtrip.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67814.220972.patch
Type: text/x-patch
Size: 32364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190920/fa1f6612/attachment-0001.bin>
More information about the llvm-commits
mailing list