Exemplo n.º 1
0
 def __init__(self, shape, dtype, order='C', blksize=2*1024*1024):
     LivePersistent.__init__(self)
     # NOTE BigArray is cooperative to us - it names all helping (= not needing
     # to be saved) data members starting with _v_. Were it otherwise, we
     # could not inherit from BigArray and would need to keep its instance
     # in e.g. ._v_array helper and redirect all BigArray method from us to it.
     BigArray._init0(self, shape, dtype, order)
     self.zfile = ZBigFile(blksize)
     self._v_fileh = None