In Python 3, filters are lazily evaluated and strings are not bytes.
Details
Details
Diff Detail
Diff Detail
Event Timeline
clang-tools-extra/clang-tidy/add_new_check.py | ||
---|---|---|
24 | readlines() returns a list in Python3 too. |
Paths
| Differential D44217
[clang-tidy] Enable Python 3 support for add_new_check.py ClosedPublic Authored by jbcoe on Mar 7 2018, 10:51 AM.
Details Summary In Python 3, filters are lazily evaluated and strings are not bytes.
Diff Detail Event Timeline
jbcoe marked an inline comment as done. This revision is now accepted and ready to land.Mar 9 2018, 2:08 AM Closed by commit rL328418: [clang-tidy] Enable Python 3 support for add_new_check.py (authored by jbcoe). · Explain WhyMar 24 2018, 3:51 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 137646 clang-tools-extra/clang-tidy/add_new_check.py
|
readlines() returns a list in Python3 too.
Maybe remove list comprehension?