[Numpy-discussion] Fix to #789 maybe not right.

Travis E. Oliphant oliphant at enthought.com
Wed May 21 23:32:50 EDT 2008


Charles R Harris wrote:
> Really, all the increments and decrements should be inside 
> PyArray_FromArray, but calls to this function are scattered all over.
I don't understand what you mean by this statement.    All functions 
that return an object and take a PyArray_Descr object steal a reference 
to the descriptor (even if it fails).   That's the rule.

-Travis




More information about the NumPy-Discussion mailing list