From 505b0f4c11acb1ade1e91f1360ffa6a33cbd0b51 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Fri, 19 Jun 2015 19:54:15 -0600 Subject: 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. --- numpy/_import_tools.py | 1 + 1 file changed, 1 insertion(+) (limited to 'numpy/_import_tools.py') 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) -- cgit v1.2.1