[Numpy-tickets] [NumPy] #619: remove split_quoted in numpy.distutils.ccompiler
NumPy
numpy-tickets@scipy....
Wed Nov 21 00:24:34 CST 2007
#619: remove split_quoted in numpy.distutils.ccompiler
-----------------------------+----------------------------------------------
Reporter: jarrod.millman | Owner: jarrod.millman
Type: task | Status: new
Priority: normal | Milestone: 1.0.5
Component: numpy.distutils | Version: devel
Severity: normal | Resolution:
Keywords: |
-----------------------------+----------------------------------------------
Comment (by jarrod.millman):
I received this email from David M. Cooke on Nov. 19th:
{{{
My opinion is that it's not necessary, or correct. The fix leaves
quotes in if there is no whitespace, so '"Hi"' is converted to
['"Hi"'], while '"Hi there"' becomes ['Hi there']. I can't see when
you'd want that behaviour.
Also, it's only used by ccompiler (numpy.distutils.ccompiler replaces
the version in distutils.ccompiler). numpy.distutils.fcompiler
*doesn't* use this version, it uses distutils.utils.split_quoted.
Since we run into more variety in terms of command lines with the
Fortran compilers than the C compilers I think, and haven't been
bitten by supposedly-bad quoting problems, I'll say we don't need our
version.
}}}
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/619#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list