diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-06-19 19:54:15 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-06-21 12:43:06 -0600 |
commit | 505b0f4c11acb1ade1e91f1360ffa6a33cbd0b51 (patch) | |
tree | b1141ad866027a2e053f750c918fd4eb52a7fb21 /numpy/_import_tools.py | |
parent | f6861923209df65d9c4253368061072eda67ea77 (diff) | |
download | numpy-505b0f4c11acb1ade1e91f1360ffa6a33cbd0b51.tar.gz |
MAINT: Mark deprecation warning with a date and Numpy version.
This is to make it easier to find and remove deprecated features.
It would be a good idea if all deprecations were made with similar
comments.
Diffstat (limited to 'numpy/_import_tools.py')
-rw-r--r-- | numpy/_import_tools.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/_import_tools.py b/numpy/_import_tools.py index 9b1942e8d..0d11d699c 100644 --- a/numpy/_import_tools.py +++ b/numpy/_import_tools.py @@ -164,6 +164,7 @@ class PackageLoader(object): when True, don't load packages [default: False] """ + # 2014-10-29, 1.10 warnings.warn('pkgload and PackageLoader are obsolete ' 'and will be removed in a future version of numpy', DeprecationWarning) |