summaryrefslogtreecommitdiff
path: root/numpy/_import_tools.py
diff options
context:
space:
mode:
authoralex <argriffi@ncsu.edu>2014-10-28 23:20:52 -0400
committeralex <argriffi@ncsu.edu>2014-10-28 23:20:52 -0400
commit7419906420307fc577a058a0c1a655869590eb01 (patch)
tree87f4baad9ff72196202d8412b5e9654d8d2a38a6 /numpy/_import_tools.py
parent3b22d87050ab63db0dcd2d763644d924a69c5254 (diff)
downloadnumpy-7419906420307fc577a058a0c1a655869590eb01.tar.gz
DEP: deprecate pkgload
Diffstat (limited to 'numpy/_import_tools.py')
-rw-r--r--numpy/_import_tools.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/_import_tools.py b/numpy/_import_tools.py
index 526217359..07e41188a 100644
--- a/numpy/_import_tools.py
+++ b/numpy/_import_tools.py
@@ -163,6 +163,8 @@ class PackageLoader(object):
when True, don't load packages [default: False]
"""
+ raise DeprecationWarning('pkgload and PackageLoader are obsolete '
+ 'and will be removed in a future version of numpy')
frame = self.parent_frame
self.info_modules = {}
if options.get('force', False):