[Numpy-discussion] numpy.ctypeslib.ndpointer and the restype attribute [patch]

Sturla Molden sturla@molden...
Thu Mar 26 08:17:02 CDT 2009


On 3/26/2009 12:41 PM, Jens Rantil wrote:

> Wouldn't my code, or a tweak of it, be a nice feature in
> numpy.ctypeslib? Is this the wrong channel for proposing things like
> this?

If you look at

    http://svn.scipy.org/svn/numpy/trunk/numpy/ctypeslib.py

you will see that it does almost the same. I think it would be better to 
work out why ndpointer fails as restype and patch that.


Sturla Molden



More information about the Numpy-discussion mailing list