[Fwd: Re: [Numpy-discussion] View on same data with different type]
jmiller at stsci.edu
Fri Dec 3 07:46:02 EST 2004
Once again I forgot to reply-all...
Florian apparently figured out whatever flaws were in my original
message attached here. One thing people interested in this kind of data
aliasing should keep in mind is that all of the hidden variables I
mentioned (in the attached) exist to make things like array slices and
record arrays work properly. Just reusing the _data, by itself, is not
sufficient to work *in general* because not all of the _data is always
used. It does work for the relatively simple case of a new array, but
might fail if the array came from a field of a recarray, a numerical
array slice, a transposed numerical array, etc. Be careful.
-------------- next part --------------
An embedded message was scrubbed...
From: unknown sender
Subject: no subject
Date: no date
More information about the NumPy-Discussion