[Numpy-discussion] Using loadtxt() twice on same file freezes python

Sander de Kievit dekievit at strw.LeidenUniv.nl
Thu Mar 26 12:14:16 EDT 2009


Hi,

On my PC the following code freezes python:

[code]
import numpy as np
from StringIO import StringIO
c = StringIO("0 1\n2 3")
np.loadtxt(c)
np.loadtxt(c)
[/code]

Is this intentional behaviour or should I report this as a bug?

Regards,
Sander



More information about the NumPy-Discussion mailing list