[issue8987] Distutils doesn't quote Windows command lines properly
Éric Araujo
report at bugs.python.org
Thu Mar 20 02:16:43 CET 2014
Éric Araujo added the comment:
I’m more inclined to use the proposed patch rather than list2cmdline, given the issue linked.
I would not like a fix for this to break people’s setup.py scripts; it would be good to know if people work around this bug by monkey-patching the _nt_quote_args function, escaping quotes themselves, or something else.
If the proposed patch is the right solution, unit tests for _nt_quote_args would be needed, plus a high-level test that builds an extension module with a flag like '-DMODULE_VERSION="1.0.5"', so that the windows buildbots can confirm this works.
----------
assignee: tarek ->
components: +Windows
keywords: +needs review
stage: -> test needed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8987>
_______________________________________
More information about the Python-bugs-list
mailing list