ENH: Removed requirement for C-contiguity when changing to dtype of different size by madphysicist · Pull Request #20722 · numpy/numpy
madphysicist
changed the title
ENH: Added ability to change dtype of view when last axis has shape 1
ENH: Removed requirement for C-contiguity when changing to dtype of different size
mhvk approved these changes Jan 5, 2022
Expires deprecated F-contiguous behavior. Simplifies C code of dtype set descriptor. Adds tests that verify which error condition is triggered. Introduces extra long exception message that upsets linter.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters