summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorRichard Harris <rharriszzz@gmail.com>2019-06-08 02:01:56 -0400
committerEric Wieser <wieser.eric@gmail.com>2019-06-07 23:01:56 -0700
commit7ab13499df38642ed2a7a9622110bdc66f1e0b05 (patch)
tree017eea13d944e52c31ed2a126c4e270b8636f1d7 /numpy/core/fromnumeric.py
parent51ee4543823457b03bda56e33801177f31fc58f6 (diff)
downloadnumpy-7ab13499df38642ed2a7a9622110bdc66f1e0b05.tar.gz
BUG: fix unpickling of datetime64 with non-native endianness (#12905)
Numpy arrays with metadata (including units for datetime64) can't have their type copied based only on the typenum. This change is in the array_setstate, where it does byte reversal of data from platforms with a different endian value.
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions