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

David Cournapeau cournape@gmail....
Wed Jul 9 06:28:58 CDT 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