Do numpy arrays keep track of their "view status"?
import numpy
a = numpy.arange(100)
b = a[0:10]
b[0] = 100
print a[0]
# 100 comes out as it is a view
b is a[0:10]
# False (hmm how to ask?)
I am looking for numpy.isview() and I want this for code profiling to be sure that I am doing things correctly and getting views when I think I am.