Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: fix byte order reversal for datetime64[ns]#13984

Merged
charris merged 1 commit into
numpy:maintenance/1.16.xfrom
charris:backport-12905
Jul 14, 2019
Merged

BUG: fix byte order reversal for datetime64[ns]#13984
charris merged 1 commit into
numpy:maintenance/1.16.xfrom
charris:backport-12905

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Jul 14, 2019

Backport of #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.

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.
@charris charris added this to the 1.16.5 release milestone Jul 14, 2019
@charris charris merged commit ca6480e into numpy:maintenance/1.16.x Jul 14, 2019
@charris charris deleted the backport-12905 branch July 14, 2019 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant