diff options
author | Mark Wiebe <mwiebe@enthought.com> | 2011-07-19 12:56:53 -0500 |
---|---|---|
committer | Mark Wiebe <mwiebe@enthought.com> | 2011-07-19 14:00:29 -0500 |
commit | dcc355a0b179387eeba10c95baf2e1eb21d417c7 (patch) | |
tree | 2320dda7270493b8245150d6a7469de151407965 /numpy/core/_internal.py | |
parent | 57aa9147d46c638cb2acb47b82dfbb60aa903576 (diff) | |
download | numpy-dcc355a0b179387eeba10c95baf2e1eb21d417c7.tar.gz |
BUG: mmap: Make the memmap subclass rely on the Python mmap's destructor being correct
There was some fishy code flushing and closing the _mmap property,
which looked as if it was paranoid in not trusting mmap.mmap to
behave properly. This was done in a way which assumed the .base
attribute isn't collapsed, something which I've changed in the refactoring.
The easiest way to fix this is to trust mmap.mmap - if this is incorrect,
the specific platform on which this fails should have been already
documented in the comments!
Diffstat (limited to 'numpy/core/_internal.py')
0 files changed, 0 insertions, 0 deletions