Re: [Pytables-users] Subclassing File

2009-02-02 Thread Ivan Vilata i Balaguer
Andreas Hilboll (el 2009-02-02 a les 19:32:35 +0100) va dir:: > import tables as t > class HDF5file(t.File) : > def __init__(self, filename, mode="r", title="", rootUEP="/", > filters=None, **params) : > super(HDF5file, self).__init__(filename, mode, title, rootUEP, > filters, params)

Re: [Pytables-users] Question about a memory buildup when using PyTables

2009-02-02 Thread Francesc Alted
Hi Sorin, [I'm CC'ying this to the PyTables list so that other people can benefit from this discussion.] I think you have found a memory leak in the numexpr subpackage. Fortunately this has already been addressed. See: http://www.pytables.org/trac/ticket/203 Please tell me if that cures you

[Pytables-users] Subclassing File

2009-02-02 Thread Andreas Hilboll
Hi there, I'm trying to write a subclass of File, but somehow the initialization of a new instance of this class fails with a "function takes exactly 8 arguments (1 given)" error. It might well be that I haven't understood some integral aspect of sublclassing in Python yet =( So I'd really appre