[issue8987] Distutils doesn't quote Windows command lines properly
Steve Dower
report at bugs.python.org
Thu Aug 20 18:45:00 CEST 2015
Steve Dower added the comment:
FWIW, the problem in the original post is that '-DMODULE_VERSION="1.0.5"' is not quoted by distutils and the quotes are eaten.
This can be fixed by specifying '-DMODULE_VERSION=\"1.0.5\"'. There are no spaces in the argument, so the problem is that cl.exe eats unescaped quotes, not that we aren't automatically changing users arguments.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8987>
_______________________________________
More information about the Python-bugs-list
mailing list