[PATCH] D67882: [LNT] Python 3 support: make leaf classes inherit from object
Thomas Preud'homme via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 21 10:24:25 PDT 2019
thopre created this revision.
thopre added reviewers: cmatthews, hubert.reinterpretcast, kristof.beyls.
thopre added a parent revision: D67881: [LNT] Python 3 support: replace xrange with Python3's range.
Use new type classes for all leaf classes since old type class are not
support in Python 3. Add a setter to ComparisonResult's stddev_mean
property as a result to avoid AttributeError when setting stddev_mean in
the constructor. Change to inherit from object was produced by running
futurize's stage2 libpasteurize.fixes.fix_newstyle, the property fix up
was made manually.
https://reviews.llvm.org/D67882
Files:
lnt/external/stats/stats.py
lnt/server/config.py
lnt/server/db/regression.py
lnt/server/reporting/analysis.py
lnt/server/reporting/report.py
lnt/server/ui/util.py
lnt/testing/__init__.py
lnt/util/multidict.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67882.221186.patch
Type: text/x-patch
Size: 6378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190921/920469cd/attachment.bin>
More information about the llvm-commits
mailing list