summaryrefslogtreecommitdiff
path: root/numpy/_globals.py
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Use new-style classes on 2.7Eric Wieser2017-07-241-1/+1
| | | | Deliberately avoids tests, to prevent introducing a failure on old-style classes later.
* BUG: Make sure numpy globals keep identity after reload.Charles Harris2016-08-161-0/+62
Reloading currently causes problems because global classes defined in numpy/__init__.py change their identity (a is b) after reload. The solution taken here is to move those classes to a new non-reloadable module numpy/_globals and import them into numpy from there. Classes moved are ModuleDeprecationWarning, VisibleDeprecationWarning, and _NoValue. Closes #7844.