summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLoïc Estève <loic.esteve@ymail.com>2017-01-03 18:22:51 +0100
committerLoïc Estève <loic.esteve@ymail.com>2017-01-05 20:29:57 +0100
commit6726bfb0601e834feea977fb4afce1bde753fa0b (patch)
treeab0d30a1d5c6cc321fbb70123a78d3013227c36f /doc
parentb9fb9862627e40fc5c4aef9a841c407c79dc6c3f (diff)
downloadnumpy-6726bfb0601e834feea977fb4afce1bde753fa0b.tar.gz
FIX set memmap offset attribute correctly
when offset is greater than mmap.ALLOCATIONGRANULARITY
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.13.0-notes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/1.13.0-notes.rst b/doc/release/1.13.0-notes.rst
index 70b4fcbc6..eae81f94d 100644
--- a/doc/release/1.13.0-notes.rst
+++ b/doc/release/1.13.0-notes.rst
@@ -144,3 +144,9 @@ Previously, ``np.testing.assert_array_less`` ignored all infinite values. This
is not the expected behavior both according to documentation and intuitively.
Now, -inf < x < inf is considered ``True`` for any real number x and all
other cases fail.
+
+``offset`` attribute value in ``memmap`` objects
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+The ``offset`` attribute in a ``memmap`` object is now set to the
+offset into the file. This is a behaviour change only for offsets
+greater than ``mmap.ALLOCATIONGRANULARITY``.