[Numpy-discussion] Another reference count leak: ticket #848

David Cournapeau cournape at gmail.com
Wed Jul 9 07:28:58 EDT 2008


> I really don't think that this design of reference count handling in
> PyArray_FromAny (and consequently PyArray_CheckFromAny) is a good idea.
> Unfortunately these seem to be part of the published API, so presumably
> it's too late to change this?  (Otherwise I might see how the
> corresponding patch comes out.)

Changing it would break almost every code using numpy C API ... Don't
forget that numpy did build on numarray and numeric, with an almost
backward compatible C API.

cheers

David



More information about the NumPy-Discussion mailing list