[h5py] 342/455: Don't force-close File objects (can orphan other open objects)

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 2 18:19:49 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to annotated tag 1.3.0
in repository h5py.

commit 83d37dad66934b8c7482e6313adfc8ba37990235
Author: andrewcollette <andrew.collette at gmail.com>
Date:   Tue Jan 5 05:18:51 2010 +0000

    Don't force-close File objects (can orphan other open objects)
---
 h5py/highlevel.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/h5py/highlevel.py b/h5py/highlevel.py
index 4506aee..ab27a8c 100644
--- a/h5py/highlevel.py
+++ b/h5py/highlevel.py
@@ -793,12 +793,6 @@ class File(Group):
             return self.fid == other.fid
         return False
 
-    def __del__(self):
-        try:
-            self.close()
-        except Exception:
-            pass
-
 class _RegionProxy(object):
 
     def __init__(self, dset):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git



More information about the debian-science-commits mailing list