A Tuesday 03 February 2009, [email protected] escrigué:
> Francesc Alted wrote:
> > At least each open node keeps a reference to the File object. So,
> > in order to remove the File object you must close the nodes that
> > reference to them. See the File.close() for an example on how to
> > d
Francesc Alted wrote:
> At least each open node keeps a reference to the File object. So, in
> order to remove the File object you must close the nodes that reference
> to them. See the File.close() for an example on how to do this. I
> don't know if I have addressed your issue, but if not, p
Hi Anthony,
A Wednesday 28 January 2009, [email protected] escrigué:
> I have a class that reads data from a number of HDF5 files, and to
> save time opening them, I'm trying to use a WeakValueDictionary as a
> simple cache. But File objects seem to have more references than
> just the
I have a class that reads data from a number of HDF5 files, and to save
time opening them, I'm trying to use a WeakValueDictionary as a simple
cache. But File objects seem to have more references than just the
label returned from openFile.
In [1]: import weakref
In [2]: import tables