A posix dup (http://www.unix.com/man-page/POSIX/3posix/dup/) would not
solve it as the fd is hidden inside the python `mmap.mmap` instance
that is a builtin that just exposes the python buffer interface and
hides the implementation details.

The only clean solution would be to make `numpy.memmap` use a wrapper
buffer object that would keep track of the filename and offset
attributes instead of using a `mmap.mmap` instance directly.

-- 
Olivier
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to