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/exec_command.py | 1 + 1 file changed, 1 insertion(+) (limited to 'numpy/distutils/exec_command.py') diff --git a/numpy/distutils/exec_command.py b/numpy/distutils/exec_command.py index baf81f337..d210bc27b 100644 --- a/numpy/distutils/exec_command.py +++ b/numpy/distutils/exec_command.py @@ -74,6 +74,7 @@ def get_pythonexe(): def splitcmdline(line): import warnings + # 2007-12-26 RemoveMe warnings.warn('splitcmdline is deprecated; use shlex.split', DeprecationWarning) return shlex.split(line) -- cgit v1.2.1