[Numpy-discussion] Ransom Proposals

Sasha ndarray at mac.com
Sat Mar 25 18:05:01 CST 2006


On 3/25/06, Fernando Perez <Fernando.Perez at colorado.edu> wrote:
> At least I know /I/ will forget, get confused, and make mistakes.  So I'd like
> to ask for as-uniform-as possible behavior.

Do I understand correctly that you and Tim propose to make
reshape(obj, shape) return a view if obj is an instance of ndarray and
throw an exception otherwise?

If this is the case, it is probably beter to remove the reshape
function alltogether.  This way reshape(obj, shape) will very
consistently throw a name error and will have to be replaced with
obj.reshape(shape).




More information about the Numpy-discussion mailing list