<div dir="ltr"><div>There was just a question about a bug/issue with scipy.fromstring (which is numpy.fromstring) when used to read integers from a text file.</div><div><br></div><div><a href="https://mail.scipy.org/pipermail/scipy-user/2015-October/036746.html">https://mail.scipy.org/pipermail/scipy-user/2015-October/036746.html</a><br></div><div><br></div><div>fromstring() is bugging and inflexible for reading text files -- and it is a very, very ugly mess of code. I dug into it a while back, and gave up -- just to much of a mess!</div><div><br></div><div>So we really should completely re-implement it, or deprecate it. I doubt anyone is going to do a big refactor, so that means deprecating it.</div><div><br></div><div>Also -- if we do want a fast read numbers from text files function (which would be nice, actually), it really should get a new name anyway.</div><div><br></div><div>(and the hopefully coming new dtype system would make it easier to write cleanly)</div><div><br></div><div>I'm not sure what deprecating something means, though -- have it raise a deprecation warning in the next version?</div><div><br></div><div>-CHB</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><br>Christopher Barker, Ph.D.<br>Oceanographer<br><br>Emergency Response Division<br>NOAA/NOS/OR&R            (206) 526-6959   voice<br>7600 Sand Point Way NE   (206) 526-6329   fax<br>Seattle, WA  98115       (206) 526-6317   main reception<br><br><a href="mailto:Chris.Barker@noaa.gov" target="_blank">Chris.Barker@noaa.gov</a></div>
</div>