This is an archive of the discontinued LLVM Phabricator instance.

[LNT] Python 3 support: get rid of apply builtin function
ClosedPublic

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

Details

Summary

Replace calls to deprecated python2-specific apply builtin by direct
function calls with explicit argument list unpacking. This was produced
by running futurize's stage1 lib2to3.fixes.fix_apply.

Event Timeline

thopre created this revision.Sep 20 2019, 1:25 AM
This revision is now accepted and ready to land.Sep 20 2019, 8:57 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 21 2019, 8:01 AM