[Numpy-discussion] [Patch] Fix memmap pickling

Gael Varoquaux gael.varoquaux at normalesup.org
Mon May 24 18:25:37 EDT 2010


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?

Cheers,

Gaël
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmp.diff
Type: text/x-diff
Size: 2241 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100525/313059a4/attachment.diff>


More information about the NumPy-Discussion mailing list