[Numpy-svn] [numpy/numpy] c4482f: ENH: lib: break reference cycle in NpzFile (#2048)

GitHub noreply@github....
Thu Feb 16 20:43:57 CST 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: c4482f56b347760260a695a72f7ccbd26d02756c
      https://github.com/numpy/numpy/commit/c4482f56b347760260a695a72f7ccbd26d02756c
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2012-02-16 (Thu, 16 Feb 2012)

  Changed paths:
    M numpy/lib/npyio.py
  M numpy/lib/tests/test_io.py

  Log Message:
  -----------
  ENH: lib: break reference cycle in NpzFile (#2048)

This allows these objects to be freed by refcount, rather than requiring
the gc, which can be useful in some situations.





More information about the Numpy-svn mailing list