ENH: Removed requirement for C-contiguity when changing to dtype of different size by madphysicist · Pull Request #20722 · numpy/numpy

madphysicist

madphysicist

madphysicist

mattip

mattip

mhvk

eric-wieser

eric-wieser

eric-wieser

mhvk

mattip

eric-wieser

eric-wieser

eric-wieser

eric-wieser

eric-wieser

eric-wieser

eric-wieser

eric-wieser

eric-wieser

eric-wieser

eric-wieser

eric-wieser

eric-wieser

@madphysicist 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

Jan 5, 2022

mhvk

mhvk approved these changes Jan 5, 2022

eric-wieser

@madphysicist

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.

liamtoney added a commit to liamtoney/sonify that referenced this pull request

Jan 7, 2022

@liamtoney