[Numpy-discussion] Fix to #789 maybe not right.
Travis E. Oliphant
Wed May 21 22:32:50 CDT 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.
More information about the Numpy-discussion