[Numpy-discussion] numpy.loadtxt requires seek()?

Stéfan van der Walt stefan at sun.ac.za
Thu Nov 20 14:41:25 EST 2008


2008/11/20 Ryan May <rmay31 at gmail.com>:
> Does anyone know why numpy.loadtxt(), in checking the validity of a
> filehandle, checks for the seek() method, which appears to have no
> bearing on whether an object will work?

I think this is simply a naive mistake on my part.  I was looking for
a way to identify files; your patch would be welcome.

Cheers
Stéfan



More information about the NumPy-Discussion mailing list