This is an archive of the discontinued LLVM Phabricator instance.

[LNT] Python 3 support: adapt to filter returning an iterator
ClosedPublic

Authored by thopre on Sep 20 2019, 1:35 AM.

Details

Summary

Adapt calls to filter() to the fact it returns an iterator in Python 3. This
was produced by running futurize's stage2 lib2to3.fixes.fix_filter.

Diff Detail

Repository
rL LLVM

Event Timeline

thopre created this revision.Sep 20 2019, 1:35 AM
This revision is now accepted and ready to land.Sep 20 2019, 11:35 AM
thopre retitled this revision from [LNT] Python 3 support: adapt to filter returning a view to [LNT] Python 3 support: adapt to filter returning an iterator.Sep 23 2019, 2:55 PM
thopre edited the summary of this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 25 2019, 12:51 AM