<p dir="ltr"><br>
On Feb 24, 2016 2:59 PM, "Justin Bogner via llvm-dev" <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
><br>
> Renato Golin via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> writes:<br>
> > On 24 February 2016 at 19:49, Sean Silva via llvm-dev<br>
> > <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
> >> Great! I'll circle around to this at some point. Despite the "obvious"<br>
> >> nature of it I still am wary of underestimating the cruftiness of the<br>
> >> buildbots, so I'll probably do it some time at night when the bots are<br>
> >> mostly green so that I can easily see if any bots *are* broken by this.<br>
> ><br>
> > While at it, can you call "env python2" in the shebang line? It makes<br>
> > it a lot easier for Python3 systems, like Arch.<br>
><br>
> This is dangerous. I believe it's still the case that many systems don't<br>
> provide a "python2", but only python, python2.6, python2.7, etc.<br>
></p>
<p dir="ltr">It's possible to implement such that it executes as expected in python3 or python 2.  Is anyone already working on that?  If not, I'd be willing to see what it takes.</p>
<p dir="ltr">If successful, it would probably be appropriate to put just "env python" in the shebang.</p>
<p dir="ltr">Note that straddling 2 and 3 is significant ly easier if you can safely assume 2.7. </p>