https://github.com/numpy/numpy/pull/8247
numpy/numpy#8247