On Fri, Jan 9, 2009 at 10:59, Neal Becker <ndbeck...@gmail.com> wrote:
> I modified memmap.py to avoid the issues with needed to read.  It is working, 
> but I am seeing these:
>
>  m
> Exception exceptions.EnvironmentError: (22, 'Invalid argument') in <bound 
> method eos_memmap.__del__ of eos_memmap([255, 255, 255], dtype=uint8)> ignored
> Exception exceptions.EnvironmentError: (22, 'Invalid argument') in <bound 
> method eos_memmap.__del__ of eos_memmap([0, 0, 0], dtype=uint8)> ignored
> Out[22]: eos_memmap([  0,   0,   0, ..., 255, 255, 255], dtype=uint8)
>
> print m[0:4]
> Exception exceptions.EnvironmentError: (22, 'Invalid argument') in <bound 
> method eos_memmap.__del__ of eos_memmap([0, 0, 0, 0], dtype=uint8)> ignored
> [0 0 0 0]
>
> What's that about?

Can you show us your modifications? You may need to also modify
__array_finalize__(), _close(), and __del__().

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to