summaryrefslogtreecommitdiff
path: root/numpy/lib/recfunctions.py
diff options
context:
space:
mode:
authorFabian Pedregosa <fabian.pedregosa@inria.fr>2010-11-17 04:46:20 +0100
committerStefan van der Walt <stefan@sun.ac.za>2010-11-18 09:56:01 +0200
commitf26fdc9afe40e4be40fc566542ca7342e57d2909 (patch)
treeebcfa212ccafc695cf05bd4699e240be588a6fc5 /numpy/lib/recfunctions.py
parent9d1c386cb515617235d12006b1adfad9ccf45d52 (diff)
downloadnumpy-f26fdc9afe40e4be40fc566542ca7342e57d2909.tar.gz
BUG: GzipFile wrapper objects are not garbage collected (closes ticket #1356).
The underlying problem is that classes monkey-patched via new.instancemethod will only free memory correctly if they do _not_ implement the __del__ method, which is not the case for gzip.GzipFile. My proposed solution is to inherit from gzip.GzipFile and override relevant methods instead of monkey-patching.
Diffstat (limited to 'numpy/lib/recfunctions.py')
0 files changed, 0 insertions, 0 deletions