Re: [Numpy-discussion] Deprecating ndarray.tostring()

2020-03-31 Thread Charles R Harris
On Tue, Mar 31, 2020 at 5:33 AM Ralf Gommers wrote: > > > On Mon, Mar 30, 2020 at 1:09 PM Eric Wieser > wrote: > >> Hi all, >> >> Just a heads up that in https://github.com/numpy/numpy/pull/15867 I plan >> to deprecate ndarray.tostring(), which is just a confusing way to spell >> ndarray.tobytes

Re: [Numpy-discussion] Deprecating ndarray.tostring()

2020-03-31 Thread Ralf Gommers
On Mon, Mar 30, 2020 at 1:09 PM Eric Wieser wrote: > Hi all, > > Just a heads up that in https://github.com/numpy/numpy/pull/15867 I plan > to deprecate ndarray.tostring(), which is just a confusing way to spell > ndarray.tobytes(). > > This function has been documented as a compatibility alias s

[Numpy-discussion] Deprecating ndarray.tostring()

2020-03-30 Thread Eric Wieser
Hi all, Just a heads up that in https://github.com/numpy/numpy/pull/15867 I plan to deprecate ndarray.tostring(), which is just a confusing way to spell ndarray.tobytes(). This function has been documented as a compatibility alias since NumPy 1.9, but never emitted a warning upon use. Given array