[PATCH] D143703: [NFC][polly] Convert some python scripts to Python 3 syntax

Andi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 10 09:31:48 PST 2023


Andi added inline comments.


================
Comment at: polly/utils/argparse.py:106
 try:
-    _basestring = basestring
+    _basestring = str
 except NameError:
----------------
The contents of the try and except are now identical. Can this ever fail, or can the try/except be removed entirely now?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143703/new/

https://reviews.llvm.org/D143703



More information about the llvm-commits mailing list