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/distutils/command/config.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'numpy/distutils/command/config.py') diff --git a/numpy/distutils/command/config.py b/numpy/distutils/command/config.py index 4f104b222..ddccef2e8 100644 --- a/numpy/distutils/command/config.py +++ b/numpy/distutils/command/config.py @@ -37,6 +37,7 @@ class config(old_config): def try_run(self, body, headers=None, include_dirs=None, libraries=None, library_dirs=None, lang="c"): + # 2008-11-16, RemoveMe warnings.warn("\n+++++++++++++++++++++++++++++++++++++++++++++++++\n" \ "Usage of try_run is deprecated: please do not \n" \ "use it anymore, and avoid configuration checks \n" \ @@ -435,6 +436,7 @@ int main (void) built from 'body' and 'headers'. Returns the exit status code of the program and its output. """ + # 2008-11-16, RemoveMe warnings.warn("\n+++++++++++++++++++++++++++++++++++++++++++++++++\n" \ "Usage of get_output is deprecated: please do not \n" \ "use it anymore, and avoid configuration checks \n" \ -- cgit v1.2.1