![](https://secure.gravatar.com/avatar/5c9fb379c4e97b58960d74dcbfc5dee5.jpg?s=120&d=mm&r=g)
On Mon, May 24, 2010 at 03:33:09PM -0700, Brent Pedersen wrote:
On Mon, May 24, 2010 at 3:25 PM, Gael Varoquaux <gael.varoquaux@normalesup.org> wrote:
Memmapped arrays don't pickle right. I know that to get them to really pickle and restore identically, we would need some effort. However, in the current status, pickling and restoring a memmapped array leads to tracebacks that seem like they could be avoided.
I am attaching a patch with a test that shows the problem, and a fix. Should I create a ticket, or is this light-enough to be applied immediatly?
also check this: http://projects.scipy.org/numpy/ticket/1452
still needs work.
Does look good. Is there an ETA for your patch to be applied? Right now this bug is making code crash when memmapped arrays are used (eg multiprocessing), so a hot fix can be useful, without removing any merit to your work that addresses the underlying problem. Cheers, Gaƫl