[NumPy-Tickets] [NumPy] #1452: pickle memmap'd arrays (patch + tests)
NumPy Trac
numpy-tickets@scipy....
Mon May 3 23:28:28 CDT 2010
#1452: pickle memmap'd arrays (patch + tests)
-------------------------+--------------------------------------------------
Reporter: brentp | Owner: somebody
Type: enhancement | Status: needs_review
Priority: normal | Milestone:
Component: Other | Version:
Keywords: |
-------------------------+--------------------------------------------------
Comment(by charris):
The offset you are storing isn't necessarily the same offset __new__ was
called with, it may have been adjusted. This is only the case with python
>= 2.6 and offsets greater than the memmap page size. The adjustment is
made so that 32 bit systems can memmap parts of files that would lie
outside of the normal 32 address range. I think you can fix this by
storing the offset used in the call to __new__.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1452#comment:9>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list