[Numpy-svn] [numpy/numpy] 7efef9: BUG: non-integers can end up in dtype offsets
GitHub
noreply at github.com
Fri Sep 23 04:28:42 EDT 2016
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 7efef9dca97304e048038193fdf1c69b56ecc10a
https://github.com/numpy/numpy/commit/7efef9dca97304e048038193fdf1c69b56ecc10a
Author: Allan Haldane <allan.haldane at gmail.com>
Date: 2016-09-22 (Thu, 22 Sep 2016)
Changed paths:
M numpy/core/src/multiarray/common.c
M numpy/core/src/multiarray/descriptor.c
M numpy/core/tests/test_dtype.py
Log Message:
-----------
BUG: non-integers can end up in dtype offsets
Fix is to convert offsets to python ints at dtype creation.
Fixes #8059
Commit: 6463a760273a43441e96db7713c443136196d850
https://github.com/numpy/numpy/commit/6463a760273a43441e96db7713c443136196d850
Author: seberg <sebastian at sipsolutions.net>
Date: 2016-09-23 (Fri, 23 Sep 2016)
Changed paths:
M numpy/core/src/multiarray/common.c
M numpy/core/src/multiarray/descriptor.c
M numpy/core/tests/test_dtype.py
Log Message:
-----------
Merge pull request #8080 from ahaldane/int_offsets_fix
BUG: non-integers can end up in dtype offsets
Compare: https://github.com/numpy/numpy/compare/ade91ea2f282...6463a760273a
More information about the Numpy-svn
mailing list