iris icon indicating copy to clipboard operation
iris copied to clipboard

Revert Cell.__hash__ fix

Open bjlittle opened this issue 1 year ago • 0 comments

🚀 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


Consult Iris pull request check list

bjlittle avatar Jul 25 '22 10:07 bjlittle