[Numpy-discussion] prerelease proposal for matrix behavior

Alan G Isaac aisaac@american....
Fri Apr 25 19:38:19 CDT 2008


OK, we are not converging in time for the release.
So can we at least raise a TypeError on scalar
indexing of matrices, so that we remain free to choose
the ultimate behavior?

Those who have spoke up have generally favored
letting x[0] return a 1d array, if I count correctly.
And I think that is the right "provisional" behavior.
(As well as ultimate.) But many have not spoken up.

So let's at least signal that this is an area of change.
Right?

Thank you,
Alan Isaac




More information about the Numpy-discussion mailing list