[NumPy-Tickets] [NumPy] #1517: numpy.load does not release file handle for npz files
NumPy Trac
numpy-tickets@scipy....
Wed Apr 20 10:52:38 CDT 2011
#1517: numpy.load does not release file handle for npz files
------------------------+---------------------------------------------------
Reporter: etecman | Owner: somebody
Type: defect | Status: reopened
Priority: normal | Milestone: Unscheduled
Component: numpy.lib | Version: 1.5.1
Resolution: | Keywords: load, filehandle
------------------------+---------------------------------------------------
Changes (by weegreenblobbie):
* cc: weegreenblobbie@… (added)
* status: closed => reopened
* version: 1.3.0 => 1.5.1
* resolution: fixed =>
* milestone: 1.5.1 => Unscheduled
Comment:
This bug is still present in 1.5.1, too many files are left open. Running
the attached script produces:
$ python numpy_bug.py
numpy.__version__ = 1.5.1
FAILURE
i = 1021
Traceback (most recent call last):
File "numpy_bug.py", line 37, in <module>
IOError: [Errno 24] Too many open files: 'bug.npz'
A workaround is also in the script.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1517#comment:2>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list