[LLVMdev] Minimum Python Version

Sean Silva silvas at purdue.edu
Tue Dec 4 09:15:20 PST 2012


So, I just tried, and basically it's difficult to make progress due to
the print statements (since they induce an immediate syntax error).
Since 2.4 doesn't support `from __future__ import print_function`, the
only alternative I guess is shimming in a print function. This is a
maintenance effort that I don't want to do right now (and, TBQH, I
feel that the proper maintainer should be responsible for).

ddunbar, how does this weight against your "causing large problems
with the code" criterion for supporting older versions? As I believe
that you are the author and maintainer of lit, are you planning on
fixing this compatibility problem?

-- Sean Silva

On Tue, Dec 4, 2012 at 8:59 AM, Sean Silva <silvas at purdue.edu> wrote:
> On Tue, Dec 4, 2012 at 4:27 AM, Tobias Grosser <tobias at grosser.es> wrote:
>> Why don't you give it a try. This will also help us to understand where
>> the biggest
>> problems are and if the necessary changes make supporting python 2.4
>> hard.
>
> I'll see what I can do. Since on that machine I only have python3 and
> python2.7, I can't easily verify that my changes still operate on the
> desired 2.4 and 2.5.
>
> -- Sean Silva



More information about the llvm-dev mailing list