From: Shin <sd...@em...> - 2004-10-08 18:30:33
|
I want to subclass tables.File to add some customized behaviors. But, it turned out not as simple as I had expected. File class has __init__ method, but HDF5Extension.File, one of tables.File's superclasses, has only __new__ method. I am not familiar with new class system in Python. To subclass tables.File, how should I implement __init__ or __new__ method of the new class? Thanks in advance. -- Daehyok Shin (Peter) Geography Department Univ. of North Carolina-Chapel Hill |