diff options
author | seberg <sebastian@sipsolutions.net> | 2017-01-11 16:07:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-11 16:07:30 +0100 |
commit | 95e935fba00a4c49ead235a3694bf62ffdb7240b (patch) | |
tree | 592234af011a01caa1b4737672ea1faf5fb211e7 /doc | |
parent | 1416cbe5d65f874e879c327d1f9335485139d5a7 (diff) | |
parent | 6726bfb0601e834feea977fb4afce1bde753fa0b (diff) | |
download | numpy-95e935fba00a4c49ead235a3694bf62ffdb7240b.tar.gz |
Merge pull request #8443 from lesteve/mmap-offset
BUG: 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.rst | 6 |
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``. |