[patch][lit] Make it compatible with python 3 (but drop python 2.5)

Daniel Dunbar daniel at zuster.org
Sun Dec 14 18:32:31 PST 2014


FYI, when I did the first version of Python 3 support for lit, I handled
this by the manual method:
--
    except InternalShellError:
        e = sys.exc_info()[1]
--
which is very ugly but only showed up in a few places. I guess an exception
crept in.

 - Daniel


On Thu, Dec 11, 2014 at 9:50 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:
>
> The attached patch makes the internal lit runner work on python 3, but
> I am told it breaks compatibility with python 2.5.
>
> Is that OK. Is there some document that needs to be update to say we
> need 2.6 now?
>
> Cheers,
> Rafael
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141214/c0e7b0ec/attachment.html>


More information about the llvm-commits mailing list