[PATCH] D67820: [LNT] Python 3 support: get rid of calls to cmp builtin
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 20 22:10:16 PDT 2019
hubert.reinterpretcast added inline comments.
================
Comment at: lnt/server/db/testsuitedb.py:284
+
+ return (
+ [
----------------
Not sure what you think of this drive-by:
```
next(
itertools.dropwhile(
lambda x: x[0] == x[1],
map(
lambda item:
(convert_revision(self.get_field(item), cache=Order.order_name_cache),
convert_revision(b.get_field(item), cache=Order.order_name_cache)),
self.fields)), (0, 0))
```
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67820/new/
https://reviews.llvm.org/D67820
More information about the llvm-commits
mailing list