[Numpy-discussion] views and object lifetime
Wed Feb 18 07:09:26 CST 2009
2009/2/18 Neal Becker <firstname.lastname@example.org>:
> 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?
I don't remember, and I don't have the Numpy book here. But if B is a
view on A, a flag indicates that B does not own the data, and another
field is a pointer to A.
Information System Engineer, Ph.D.
Blogs: http://matt.eifelle.com and http://blog.developpez.com/?blog=92
More information about the Numpy-discussion