iris
iris copied to clipboard
Revert Cell.__hash__ fix
🚀 Pull Request
Description
This PR reverts the fix targeting the change in behaviour of Cell.__hash__
when dealing with NaNs due to the performance regression that it introduces.
This fix is only applicable to a change in behaviour for py310
.
See:
- #4840
- #4852
Reference:
- https://bugs.python.org/issue43475
- https://github.com/numpy/numpy/issues/18833
- https://github.com/numpy/numpy/pull/18908
- https://github.com/numpy/numpy/issues/21210
Closes #4843