[Numpy-discussion] is ndarray.base the closest base or the ultimate base?

Citi, Luca lciti@essex.ac...
Mon Sep 21 05:31:27 CDT 2009


I think you do not need to do the  chain up walk on view creation.
If the assumption is that base is the ultimate base, on view creation
you can do something like (pseudo-code):
view.base = parent if parent.owndata else parent.base


More information about the NumPy-Discussion mailing list