<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Courier New;color: #000000;font-size: 10pt;">
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.<br>
<br>
- Vasileios<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF421822"><font face="Tahoma" color="#000000" size="2"><b>From:</b> llvm-dev [llvm-dev-bounces@lists.llvm.org] on behalf of Craig Rodrigues via llvm-dev [llvm-dev@lists.llvm.org]<br>
<b>Sent:</b> 09 October 2015 23:33<br>
<b>To:</b> llvm-dev@lists.llvm.org<br>
<b>Subject:</b> [llvm-dev] Python version for scripts in LLVM?<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div>
<div>
<div>Hi,<br>
<br>
</div>
Is there a rule or guideline about what Python versions<br>
</div>
must be supported for scripts in the LLVM tree?<br>
<br>
</div>
<div>I am working on some patches to some scripts in LLVM<br>
</div>
<div>to use features in Python 2.7, so that these scripts<br>
</div>
<div>can run under Python 2.7 and Python 3.x<br>
<br>
</div>
<div>Is that OK?<br>
<br>
</div>
<div>For example, here is a patch to use print as a function,<br>
</div>
<div>so that the scripts can work in Python 2.7 and Python 3.x<br>
</div>
<div>--<br>
</div>
Craig<br>
</div>
</div>
</div>
</div>
</body>
</html>