[LLVMdev] Minimum Python Version

Sam Rushing sam-llvm at rushing.nightmare.com
Thu Dec 6 16:39:51 PST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/1/12 12:57 PM, Gregory Szorc wrote:
>
> I believe LLVM should drop support for Python 2.4 and 2.5 for 2 main
reasons:
>
> 1) Python 2.4 and 2.5 are end-of-lifed
> 2) Python 3 is coming
Entering the discussion a bit late, but I'd like to make a plug here for
using Cython for any official Python bindings.  There are numerous
advantages to using it over writing extension modules by hand in C, but
one advantage that is relevant to this discussion: Cython supports
Python 2 and 3 from the same source code, so it goes a long way to
easing maintenance.

http://docs.cython.org/src/userguide/pyrex_differences.html

As an example of how to write such an interface, a minimalist JIT interface:

https://github.com/samrushing/lljit

- -Sam

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAlDBOtcACgkQHBId2kpNDRZ5qgCfd6xlk5poF7fGEAWerGTxUknv
z8sAn1PaPmTcc8vgycc8H6DOsfz3Jrk6
=4BMZ
-----END PGP SIGNATURE-----




More information about the llvm-dev mailing list