[Numpy-discussion] views and object lifetime

Neal Becker ndbecker2@gmail....
Wed Feb 18 07:02:54 CST 2009


Matthieu Brucher <matthieu.brucher <at> gmail.com> writes:

> 
> B has a reference to A.

Could you be more specific?  Where is this reference stored?  What C api
functions are used?

> Matthieu
> 
> 2009/2/18 Neal Becker <ndbecker2 <at> gmail.com>:
> > How is it ensured, at the C api level, that when I have an array A, and a
view
> > of it B, that the data is not destroyed until both A and B are?
> >
> > _______________________________________________
> > Numpy-discussion mailing list
> > Numpy-discussion <at> scipy.org
> > http://projects.scipy.org/mailman/listinfo/numpy-discussion
> >
> 






More information about the Numpy-discussion mailing list