[Cython] cython doesn't compile cdef'd variables of type set?
Dag Sverre Seljebotn
dagss at student.matnat.uio.no
Fri Oct 3 13:32:41 CEST 2008
Robert Bradshaw wrote:
> Is this because Cython doesn't run under Py3? (I thought it did.) Or
> is there something I'm not seeing here?
I haven't heard anything about Cython itself running under Py3. Stefan
made runtests.py run under Py3, and then you need to first run it under
Python2 with --no-cleanup, and then under Py3 with --no-cython (so that
the C files generated using Py2 is compiled under Py3).
So this is where your scheme breaks down currently.
Perhaps this was fixed without me noticing it (if so I've broken it
again in cython-devel I'm afraid, but that should be easy to fix).
If you want to fix this, then the matter disappears. OTOH I think
supporting both Python 2 and Python 3 for running Cython could bog us
down somewhat, at least it is not Guido's recommended porting strategy
(which is staying with 2.x until you can make a total switch). Users
will need to keep 2.x around on their systems for years to come anyway
so I don't think it is something we should worry about at this stage if
it means much work.
--
Dag Sverre
More information about the Cython-dev
mailing list