[llvm-dev] Python version for scripts in LLVM?

Vasileios Kalintiris via llvm-dev llvm-dev at lists.llvm.org
Fri Oct 9 15:44:29 PDT 2015


Both cmake & configure test for Python >= 2.7. Given the amount of python code in the various scripts inside the LLVM projects, I wouldn't expect Python 3.x to work for everything without changes.

- Vasileios

________________________________
From: llvm-dev [llvm-dev-bounces at lists.llvm.org] on behalf of Craig Rodrigues via llvm-dev [llvm-dev at lists.llvm.org]
Sent: 09 October 2015 23:33
To: llvm-dev at lists.llvm.org
Subject: [llvm-dev] Python version for scripts in LLVM?

Hi,

Is there a rule or guideline about what Python versions
must be supported for scripts in the LLVM tree?

I am working on some patches to some scripts in LLVM
to use features in Python 2.7, so that these scripts
can run under Python 2.7 and Python 3.x

Is that OK?

For example, here is a patch to use print as a function,
so that the scripts can work in Python 2.7 and Python 3.x
--
Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151009/aac6c2db/attachment.html>


More information about the llvm-dev mailing list