<div dir="ltr"><div class="markdown-here-wrapper" style="font-size:1em;font-family:Helvetica,arial,freesans,clean,sans-serif;color:rgb(34,34,34);background-color:rgb(255,255,255);border:none;line-height:1.2"><p style="margin:1em 0px">Hi all,</p>
<p style="margin:1em 0px">Just a heads up that in <a href="https://github.com/numpy/numpy/pull/15867" style="color:rgb(51,51,238);text-decoration:none">https://github.com/numpy/numpy/pull/15867</a> I plan to deprecate <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:nowrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">ndarray.tostring()</code>, which is just a confusing way to spell <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:nowrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">ndarray.tobytes()</code>.</p>
<p style="margin:1em 0px">This function has been documented as a compatibility alias since NumPy 1.9, but never emitted a warning upon use.<br>Given <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:nowrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">array.array.tostring()</code> has been warning as far back as Python 3.1, it seems like we should follow suit.</p>
<p style="margin:1em 0px">In order to reduce the impact of such a deprecation, I’ve filed the necessary scipy PR: <a href="https://github.com/scipy/scipy/pull/11755" style="color:rgb(51,51,238);text-decoration:none">https://github.com/scipy/scipy/pull/11755</a>.<br>It’s unlikely we’ll remove this function entirely any time soon, but the act of deprecating it may cause a few failing CI runs in projects where warnings are turned into errors.</p>
<p style="margin:1em 0px">Eric</p>
<div title="MDH:SGkgYWxsLDxkaXY+PGJyPjwvZGl2PjxkaXY+SnVzdCBhIGhlYWRzIHVwIHRoYXQgaW4mbmJzcDs8
YSBocmVmPSJodHRwczovL2dpdGh1Yi5jb20vbnVtcHkvbnVtcHkvcHVsbC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