summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_packbits.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2019-02-23 21:15:54 -0800
committerEric Wieser <wieser.eric@gmail.com>2019-02-23 22:35:10 -0800
commit77aee9c3069851e53a772d5b1f24392932d0801f (patch)
tree9f2f2ded6c26d5e63bcb1c8b66db5911cf18c451 /numpy/lib/tests/test_packbits.py
parent490b8542c8d042f712cfe4671ebfc5a2afe8f8ae (diff)
downloadnumpy-77aee9c3069851e53a772d5b1f24392932d0801f.tar.gz
MAINT: Add functions to parse shell-strings in the platform-native way
There are places in distutils where we accept a single string from the user, and interpret it as a set of command line arguments. Previously, these were passed on as a string unmodified to exec_command, and interpreted by subprocess in a platform-specific way. Recent changes to distutils now pass a list of arguments to subprocess, meaning we have to split the strings ourselves. While `shlex.split` is perfect on posix systems, it is not a good approximation of either the old or the expected behavior on windows. Provides the building blocks needed to fix gh-12979
Diffstat (limited to 'numpy/lib/tests/test_packbits.py')
0 files changed, 0 insertions, 0 deletions