[Numpy-discussion] numarray: Does NA_NewArray return a new reference?

Perry Greenfield perry at stsci.edu
Tue Aug 2 11:43:36 CDT 2005


On Aug 1, 2005, at 11:40 PM, Edward C. Jones wrote:

> Do functions such as NA_NewArray return a new reference? Then I should 
> Py_XDECREF them when I am finished with them?

Yes, yes.

Perry





More information about the Numpy-discussion mailing list