numpy/numpy — pull request #4910 by seberg (2014-07-28 09:04:00+00:00)
Title: BUG: None comparison deprecation does not affect scalars

This circumvents the None warnings for scalar comparisons.
Unfortunatly datetime NaT *can* in some cases evaluate equal
to None because NaT.item() is None.

Closes gh-4894