|filename, mode='r+', len=None)|
Neither mode 'r' nor mode 'c' can affect the underlying map file. Readonly maps impose no requirement on system swap space and raise exceptions when their contents are modified. Copy-on-write maps require system swap space corresponding to their size, but have modifiable pages which become reassociated with system swap as they are changed leaving the original map file unaltered. Insufficient swap space can prevent the creation of a copy-on-write memory map. Modifications to readwrite memory maps are eventually reflected onto the map file; see flushing and syncing.
Send comments to the NumArray community.