Re: [Numpy-discussion] mmap bug

2010-06-17 Thread Ralf Gommers
On Fri, Jun 11, 2010 at 8:00 AM, Geoffrey Irving wrote: > Hello, > > If I create an mmap'ed array, and then generate another array > referencing only its base, destruction of the original mmap'ed array > closes the mmap. The second array is then prone to segfaults. > > I think the best fix is to

[Numpy-discussion] mmap bug

2010-06-10 Thread Geoffrey Irving
Hello, If I create an mmap'ed array, and then generate another array referencing only its base, destruction of the original mmap'ed array closes the mmap. The second array is then prone to segfaults. I think the best fix is to put the responsibility for flushing the mmap onto the actual mmap obj