[Numpy-svn] [numpy/numpy] f26fdc: BUG: GzipFile wrapper objects are not garbage coll...

noreply@githu... noreply@githu...
Thu Nov 18 02:08:56 CST 2010


Branch: refs/heads/master
Home:   https://github.com/numpy/numpy

Commit: f26fdc9afe40e4be40fc566542ca7342e57d2909
    https://github.com/numpy/numpy/commit/f26fdc9afe40e4be40fc566542ca7342e57d2909
Author: Fabian Pedregosa <fabian.pedregosa@inria.fr>
Date:   2010-11-17 (Wed, 17 Nov 2010)

Changed paths:
  M numpy/lib/npyio.py

Log Message:
-----------
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.


Commit: 277c740f798b93a4348054bcd9ee6f6e42f659e0
    https://github.com/numpy/numpy/commit/277c740f798b93a4348054bcd9ee6f6e42f659e0
Author: Stefan van der Walt <stefan@sun.ac.za>
Date:   2010-11-18 (Thu, 18 Nov 2010)

Changed paths:
  M setupscons.py

Log Message:
-----------
BUG: Remove invalid reference to FULLVERSION from setupscons.py.




More information about the Numpy-svn mailing list