8000 DOC: core: contents of newly allocated space in memmap by larsmans · Pull Request #5176 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: core: contents of newly allocated space in memmap #5176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 12, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
DOC: core: contents of newly allocated space in memmap
Fixes #5157.
  • Loading branch information
larsmans committed Oct 12, 2014
commit ade76b0035496ad0239b5236688fa51d4a4e592e
5 changes: 5 additions & 0 deletions numpy/core/memmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ class memmap(ndarray):
certain size depending on the platform. This size is always < 2GB
even on 64-bit systems.

When a memmap causes a file to be created or extended beyond its
current size in the filesystem, the contents of the new part are
unspecified. On systems with POSIX filesystem semantics, the extended
part will be filled with zero bytes.

Examples
--------
>>> data = np.arange(12, dtype='float32')
Expand Down
0