[Numpy-discussion] PySequence_GetItem on numpy array doesn't inc refcount?

Neal Becker ndbecker2@gmail....
Fri Feb 8 10:33:35 CST 2008

Neal Becker wrote:

> It seems that calling PySequence_GetItem on a PyArrayObject does not inc
> refcount on the original object?  That is surprising.  Then, I suppose my
> code is supposed to do that itself?

Not sure what I was doing wrong before, but seems to be working as expected
now, sorry for the noise.

More information about the Numpy-discussion mailing list