[Numpy-discussion] Numpy on Python3
pav+sp at iki.fi
Mon Nov 23 04:39:16 EST 2009
Mon, 23 Nov 2009 08:58:47 +0100, Sturla Molden wrote:
> Pauli Virtanen skrev:
>> XXX: 3K: numpy.random is disabled for now, uses PyString_* XXX: 3K:
>> numpy.ma is disabled for now -- some issues
> I thought numpy.random uses Cython? Is it just a matter of recompiling
> the pyx-file?
The Cython file uses the C-api directly, so we'll need a .h file with the
necessary compile-time conditionals.
>> I remember Dag was working on this a bit: how far did it go?
> Cython's include file numpy.pxd has an ndarray class that extend
> PyArrayObject with PEP 3118 buffer compatibility.
Great! I believe I will just steal whatever I can and rewrite it in C --
for now, it seems possible to keep Numpy's core in plain C.
More information about the NumPy-Discussion