[PATCH] D67878: [LNT] Python 3 support: use Python 3 urllib

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 21 10:22:54 PDT 2019


thopre created this revision.
thopre added reviewers: cmatthews, hubert.reinterpretcast, kristof.beyls.
thopre added a parent revision: D67823: [LNT] Python 3 support: use Python 3 module names.
thopre added a child revision: D67879: [LNT] Python 3 support: import object when inheriting from it.

Adapt imports to urllib and urllib2 to rely on Python 3 module
organization by installing them as aliases. This was produced by running
futurize's stage2 libfuturize.fixes.fix_future_standard_library_urllib
and adapted manually to remove excess import and fix up str to byte
conversion of urlencode result.


https://reviews.llvm.org/D67878

Files:
  lnt/lnttool/viewcomparison.py
  lnt/server/reporting/dailyreport.py
  lnt/server/ui/filters.py
  lnt/tests/nt.py
  lnt/util/ServerUtil.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67878.221182.patch
Type: text/x-patch
Size: 4378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190921/ae5b7319/attachment.bin>


More information about the llvm-commits mailing list