[Numpy-discussion] fromfile (binary) double free or corruption
Travis E. Oliphant
Sun Mar 2 15:23:05 CST 2008
Scott Ransom wrote:
> Hi Travis,
> That fixes the problem that I reported such that there is no glibc
> issue anymore.
> However, it does result in a change in behaviour for fromfile.
> Previously, when no data was returned an exception was raised.
> With the new fix there is no exception, and an empty array is
> returned. Code (like mine) that depended on an exception being
> thrown at EOF will break. I've fixed my code, but this could bite
This should be fixed. I'll restore the exception. Thanks for checking
on it and clarifying.
More information about the Numpy-discussion