[Numpy-svn] [numpy/numpy] 17c32a: BUG: numpy.ndarray.tofile creates a corrupt file f...
GitHub
noreply at github.com
Sun Dec 4 17:07:39 EST 2016
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 17c32ac75868b27780c15c4ff52c2403b63fdbc9
https://github.com/numpy/numpy/commit/17c32ac75868b27780c15c4ff52c2403b63fdbc9
Author: Pavel Potocek <pavelpotocek at gmail.com>
Date: 2016-12-04 (Sun, 04 Dec 2016)
Changed paths:
M numpy/core/src/multiarray/convert.c
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
BUG: numpy.ndarray.tofile creates a corrupt file for large arrays in append file mode
Fixes by using the flag `FALLOC_FL_KEEP_SIZE` (=1) in the `fappend` call.
Fixes #8329
Commit: 6587f66b57daf10f17ebba8b759d98542e38077d
https://github.com/numpy/numpy/commit/6587f66b57daf10f17ebba8b759d98542e38077d
Author: Julian Taylor <juliantaylor108 at gmail.com>
Date: 2016-12-04 (Sun, 04 Dec 2016)
Changed paths:
M numpy/core/src/multiarray/convert.c
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
Merge pull request #8335 from potocpav/fix-tofile
BUG: tofile() creates a corrupt file for large arrays in "ab" mode
Compare: https://github.com/numpy/numpy/compare/fc03618c2e1c...6587f66b57da
More information about the Numpy-svn
mailing list