[Numpy-discussion] memmap problem

Neal Becker ndbecker2 at gmail.com
Fri Jan 9 11:59:58 EST 2009


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?




More information about the NumPy-Discussion mailing list