summaryrefslogtreecommitdiff
path: root/numpy/doc/internals.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-07-20 11:09:36 -0600
committerCharles Harris <charlesr.harris@gmail.com>2016-08-16 13:12:32 -0600
commit0ade4c43f052247a2d12a2c49d3c846e6c429fa9 (patch)
tree9a392681beeb6e1b297e8563867068fb5fa1106d /numpy/doc/internals.py
parent63d30baee2535f03d55a10819ea1e56165d4c030 (diff)
downloadnumpy-0ade4c43f052247a2d12a2c49d3c846e6c429fa9.tar.gz
BUG: Make sure numpy globals keep identity after reload.
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.
Diffstat (limited to 'numpy/doc/internals.py')
0 files changed, 0 insertions, 0 deletions