[Cython] Cython now runs on Py3
Stefan Behnel
stefan_ml at behnel.de
Fri Apr 24 19:58:10 CEST 2009
Hi,
I just managed to integrate the 2to3 tool into Cython's build, so that the
sources get translated to Py3 on install.
This means that Cython now installs and works on Python 3. I tested this
with Py3.1a1.
The relevant changes are in cython-unstable, so you can pull them from there:
http://hg.cython.org/cython-unstable/
Note that you have to *install* Cython under Py3 in order to use it. It
will not work to run the test suite directly from the source directory, and
Cython will not compile itself in Py3.
There are still a few failing tests that need fixing, but it's usually just
the doctests that are broken, not the generated code
If you use Py3, please give it a try.
Stefan
More information about the Cython-dev
mailing list