[PATCH] D67823: [LNT] Python 3 support: use Python 3 module names
Przemyslaw Wirkus via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 5 07:21:07 PST 2019
PrzemekWirkus added inline comments.
================
Comment at: lnt/lnttool/admin.py:9-15
+ global yaml, sys, requests, json, os, http
yaml = __import__('yaml', globals(), locals())
sys = __import__('sys', globals(), locals())
requests = __import__('requests', globals(), locals())
json = __import__('json', globals(), locals())
os = __import__('os', globals(), locals())
+ http = __import__('http.client', globals(), locals())
----------------
This idiom was discussed in other patch, let us know how you will sort this thing out please Thomas.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67823/new/
https://reviews.llvm.org/D67823
More information about the llvm-commits
mailing list