Hi folks, I noticed an unexpected behavior of itemsize for structures with offsets that are larger than that of a packed structure in memory. This matters when parsing in memory structures from C and some others (recently and HDF5/h5py detail got me for a bit).
So what is the correct way to get "sizeof" a structure? AFAIK this is the size of the last item + it's offset. If this doesn't exist... shouldn't it? Thanks, Jason
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion