8000 1.10 deprecated removal by charris · Pull Request #5990 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

1.10 deprecated removal #5990

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jun 21, 2015
Prev Previous commit
Next Next commit
DEP,MAINT: Remove deprecated splitcmdline.
Was in numpy/distutils/exec_command.py.
Update 1.10-notes.rst.
  • Loading branch information
charris committed Jun 21, 2015
commit 16f1622afa6be491a17c8b21f6fec30c2de4d752
4 changes: 3 additions & 1 deletion doc/release/1.10.0-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ Dropped Support:
* The polytemplate.py file has been removed.
* The _dotblas module is no longer available.
* The testcalcs.py file has been removed.
* npy_PyFile_Dup and npy_PyFile_DupClose have been removed from npy_3kcompat.h.
* npy_PyFile_Dup`` and npy_PyFile_DupClose have been removed from
npy_3kcompat.h.
* splitcmdline has been removed from numpy/distutils/exec_command.py.

Future Changes:

Expand Down
7 changes: 0 additions & 7 deletions numpy/distutils/exec_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,6 @@ def get_pythonexe():
assert os.path.isfile(pythonexe), '%r is not a file' % (pythonexe,)
return pythonexe

def splitcmdline(line):
import warnings
# 2007-12-26 RemoveMe
warnings.warn('splitcmdline is deprecated; use shlex.split',
DeprecationWarning)
return shlex.split(line)

def find_executable(exe, path=None, _cache={}):
"""Return full path of a executable or None.

Expand Down
0