This is an archive of the discontinued LLVM Phabricator instance.

[LNT] Python 3 support: adapt to removal of execfile
ClosedPublic

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

Details

Summary

Replace calls to execfile by calling exec on the result of calling
compile on the result of calling open().read().

Event Timeline

thopre created this revision.Sep 20 2019, 1:41 AM
This revision is now accepted and ready to land.Oct 12 2019, 11:10 AM
thopre closed this revision.Oct 12 2019, 4:02 PM