[Numpy-discussion] views and object lifetime
Matthieu Brucher
matthieu.brucher@gmail....
Wed Feb 18 07:09:26 CST 2009
2009/2/18 Neal Becker <ndbecker2@gmail.com>:
> 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.
Matthieu
--
Information System Engineer, Ph.D.
Website: http://matthieu-brucher.developpez.com/
Blogs: http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn: http://www.linkedin.com/in/matthieubrucher
More information about the Numpy-discussion
mailing list