numpy/numpy — pull request #5372 by madsmpedersen (2014-12-15 08:54:27+00:00)
Title: Update nanfunctions.py

"All-NaN slice encountered" is raised if there is any NaN instead of if all are nan.