[Numpy-discussion] Views of memmaps and offset
Charles R Harris
Sat Sep 22 12:52:49 CDT 2012
On Sat, Sep 22, 2012 at 11:31 AM, Gael Varoquaux <
> On Sat, Sep 22, 2012 at 11:16:27AM -0600, Charles R Harris wrote:
> > I think this is a bug, taking a view should probably update the
> OK, we can include a fix for that alongside with the patch to keep track
> of the filename.
It already tracks the file name
In : a = np.memmap('tmp.mmap', dtype=np.float64, shape=50, mode='w+',
In : b = a[10:]
In : b.filename
or did you mean something else? I was guessing the fix could be mad in the
same place that copied over the filename.
> NumPy-Discussion mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion