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

Pauli Virtanen pav+sp at iki.fi
Mon Sep 21 05:06:53 EDT 2009


Mon, 21 Sep 2009 09:35:47 +0100, Citi, Luca wrote:
> I cannot quite understand whether ndarray.base is the closest base, the
> one from which the view was made or the ultimate base, the one actually
> containing the data.
> I think the documentation and the actual behaviour mismatch.

The closest base. If the documentation says the opposite, it's wrong.
That it's the closest base also causes crashes when the base chain 
becomes longer than the stack limit.

-- 
Pauli Virtanen




More information about the NumPy-Discussion mailing list