]> granicus.if.org Git - clang/commit
Portable Python script across Python version
authorSerge Guelton <sguelton@quarkslab.com>
Mon, 3 Dec 2018 12:11:21 +0000 (12:11 +0000)
committerSerge Guelton <sguelton@quarkslab.com>
Mon, 3 Dec 2018 12:11:21 +0000 (12:11 +0000)
commitba2e3ae0a66adc4c70f943063abd494ddbadfc89
tree70f2f7b12df1206670ba90a12218b13d746a5177
parent055b8810d35fa85e6c2800d8390610e564fcbfdc
Portable Python script across Python version

Python2 supports the two following equivalent construct

raise ExceptionType, exception_value
and
raise ExceptionType(exception_value)

Only the later is supported by Python3.

Differential Revision: https://reviews.llvm.org/D55195

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@348126 91177308-0d34-0410-b5e6-96231b3b80d8
tools/scan-view/share/ScanView.py
utils/ABITest/ABITestGen.py
utils/ABITest/Enumeration.py
utils/ABITest/TypeGen.py
utils/analyzer/SATestBuild.py
utils/token-delta.py