This is an archive of the discontinued LLVM Phabricator instance.

[LNT] Python 3 support: Fix exec syntax
ClosedPublic

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

Details

Summary

Replace python2-specific exec statements with calls to exec builtins.
This was produced by running futurize's stage1 lib2to3.fixes.fix_exec.

Diff Detail

Repository
rL LLVM

Event Timeline

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