Re: [Numpy-discussion] [Patch] Fix memmap pickling

2010-05-26 Thread Brent Pedersen
On Mon, May 24, 2010 at 3:37 PM, Gael Varoquaux wrote: > On Mon, May 24, 2010 at 03:33:09PM -0700, Brent Pedersen wrote: >> On Mon, May 24, 2010 at 3:25 PM, Gael Varoquaux >> wrote: >> > Memmapped arrays don't pickle right. I know that to get them to >> > really pickle and restore identically, we

Re: [Numpy-discussion] [Patch] Fix memmap pickling

2010-05-24 Thread Gael Varoquaux
On Mon, May 24, 2010 at 03:33:09PM -0700, Brent Pedersen wrote: > On Mon, May 24, 2010 at 3:25 PM, Gael Varoquaux > 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, p

Re: [Numpy-discussion] [Patch] Fix memmap pickling

2010-05-24 Thread Brent Pedersen
On Mon, May 24, 2010 at 3:25 PM, Gael Varoquaux 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 li

[Numpy-discussion] [Patch] Fix memmap pickling

2010-05-24 Thread Gael Varoquaux
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 th