[Numpy-discussion] Uncomfortable with matrix change

Keith Goodman kwgoodman@gmail....
Sat May 10 11:53:25 CDT 2008

On Sat, May 10, 2008 at 9:24 AM, Alan G Isaac <aisaac@american.edu> wrote:
> On Sat, 10 May 2008, Keith Goodman apparently wrote:
>> Shouldn't a deprecation warning explain what the future
>> behavior will be?
> I do not think so.  I think the warning should say:
> "use x[0,:] instead of x[0] to return row 0 as a matrix."

That would confuse me. I would think it meant that I have to use
x[0,:] right now. Maybe you could add something that explains that
this is in the future? Something like: "In future versions x[0] will
not return row 0 as a matrix, but x[0,:] will continue to return a

More information about the Numpy-discussion mailing list