[Numpy-discussion] _PyADt

Charles R Harris charlesr.harris at gmail.com
Thu Aug 29 19:27:43 EDT 2013


Anyone know what _PyADt is? It turns up in ndarraytypes.h

#define PyDataType_ISBOOL(obj) PyTypeNum_ISBOOL(_PyADt(obj))

and only there. It's not in the build directory, google yields nothing. I
suspect it is an historical artifact turned bug and should be replaced by
((PyArray_Descr*)(obj))->type_num.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20130829/8702a9c9/attachment.html>


More information about the NumPy-Discussion mailing list