[Numpy-discussion] loadtxt broken if file does not end in newline

Travis E. Oliphant oliphant at enthought.com
Wed Feb 27 17:04:55 EST 2008


Lisandro Dalcin wrote:
> Well, after all that said, I'm also fine with either approach. Anyway,
> I would say that my personal preference is for the one using
> 'str.index', as it is the simplest one regarding the old code.
>
> Like Christopher, I rarelly (never?) use 'loadtxt'. But this issue
> made a coworker to get crazy (he is a newby in python/numpy).
>
> BTW, I'm pretty sure that some time ago Guido agreed about the removal
> of str.find for Py3k, but it is still there in py3k-repo. Feel free to
> ask at python-dev if any of you consider it appropriate.
>
>   

Did this discussion resolve with a fix that can go in before 1.0.5 is 
released?

-Travis O.




More information about the NumPy-Discussion mailing list