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

Sander de Kievit dekievit@strw.LeidenUniv...
Thu Mar 26 11:14:16 CDT 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