summaryrefslogtreecommitdiff
path: root/numpy/distutils/exec_command.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-06-19 19:54:15 -0600
committerCharles Harris <charlesr.harris@gmail.com>2015-06-21 12:43:06 -0600
commit505b0f4c11acb1ade1e91f1360ffa6a33cbd0b51 (patch)
treeb1141ad866027a2e053f750c918fd4eb52a7fb21 /numpy/distutils/exec_command.py
parentf6861923209df65d9c4253368061072eda67ea77 (diff)
downloadnumpy-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/distutils/exec_command.py')
-rw-r--r--numpy/distutils/exec_command.py1
1 files changed, 1 insertions, 0 deletions
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)