[Numpy-discussion] Difference in the number of elements in a fromfile() between Windows and Linux

Stefan van der Walt stefan at sun.ac.za
Fri May 4 05:23:17 EDT 2007


Hi Matthieu

On Fri, May 04, 2007 at 09:16:34AM +0200, Matthieu Brucher wrote:
> I'm trying to test my code on several platforms, Windows and Linux, and I'm
> using some data files that where saved with a tofile(sep=' ') under Linux.
> Those files can be loaded without a problem under Linux, but under Windows with
> the latest numpy, these data cannot be loaded, some numbers are not considered
> - eg +inf or -inf).
> Is this a known behaviour ? How could I load these correctly under both
> platforms (I don't want to save them in binary form, I'm using the files for
> other purpose -

Please file a ticket at

http://projects.scipy.org/scipy/numpy/newticket

along with a short code snippet to reproduce the problem.  That way we
won't forget about it.

Cheers
Stéfan



More information about the NumPy-Discussion mailing list