[Numpy-discussion] Deserialization uncouples shared arrays

Hans Meine meine@informatik.uni-hamburg...
Tue Sep 22 05:51:10 CDT 2009

On Tuesday 22 September 2009 11:01:37 Hrvoje Niksic wrote:
> Is it intended for deserialization to uncouple arrays that share a
> common base?

I think it's not really intended, but it's a limitation by design.
AFAIK, it's related to Luca Citi's recent "ultimate base" thread - you simply 
cannot ensure serialization of arbitrary ndarrays in this way, because they 
may point to *any* memory, not necessarily an ndarray-allocated one.
(Think of internal camera framebuffers, memory allocated by 3rd party 
libraries, memmapped areas, etc.)


More information about the NumPy-Discussion mailing list