[Numpy-svn] [numpy/numpy] 8f068b: BUG: Make python2 *.npy files readable in python3.
GitHub
noreply at github.com
Mon Oct 13 14:13:50 EDT 2014
Branch: refs/heads/maintenance/1.9.x
Home: https://github.com/numpy/numpy
Commit: 8f068b7866a2959392fae2a15c1a5a19ff79bae9
https://github.com/numpy/numpy/commit/8f068b7866a2959392fae2a15c1a5a19ff79bae9
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2014-10-12 (Sun, 12 Oct 2014)
Changed paths:
M numpy/lib/format.py
Log Message:
-----------
BUG: Make python2 *.npy files readable in python3.
The Python2 generated file had long integer literals like '1L' that
broke in Python3. The fix here is to filter out the 'L' and let
safe_eval take care of the integer type in converting the string.
The fix here comes from Nathaniel Smith with a few added fixups.
Closes #5170.
Commit: 8b1f90a227b5fcf2a481c973e522693758c9f20f
https://github.com/numpy/numpy/commit/8b1f90a227b5fcf2a481c973e522693758c9f20f
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2014-10-12 (Sun, 12 Oct 2014)
Changed paths:
M .gitattributes
A numpy/lib/tests/data/python3.npy
A numpy/lib/tests/data/win64python2.npy
M numpy/lib/tests/test_format.py
Log Message:
-----------
TST: Add tests for Python2, Python3 *.npy compatibility.
Commit: 90ae342909af9db1c8e53d7748ebb196d64ea69f
https://github.com/numpy/numpy/commit/90ae342909af9db1c8e53d7748ebb196d64ea69f
Author: Julian Taylor <jtaylor.debian at googlemail.com>
Date: 2014-10-13 (Mon, 13 Oct 2014)
Changed paths:
M .gitattributes
M numpy/lib/format.py
A numpy/lib/tests/data/python3.npy
A numpy/lib/tests/data/win64python2.npy
M numpy/lib/tests/test_format.py
Log Message:
-----------
Merge pull request #5178 from charris/fix-npz-header-incompatibility
Fix npz header incompatibility
Compare: https://github.com/numpy/numpy/compare/e2851d2a6847...90ae342909af
More information about the Numpy-svn
mailing list