[issue18649] list2cmdline function in subprocess module handles \" sequence wrong

Piotr Dobrogost report at bugs.python.org
Sun Aug 4 20:25:41 CEST 2013


Piotr Dobrogost added the comment:

The docstring starts with this statement
"Translate a sequence of arguments into a command line string, using the same rules as the MS C runtime:"
which clearly makes the impression that function list2cmdline uses the same rules as the MS C runtime. However after reading comments in this issue I believe I misunderstood the true meaning as the docstring is highly misleading. According to your comments, the word "using" was meant to pertain to the "command line string" (which is the output of the list2cmdline function) and _not_ to the translation phase itself. This makes sense taking into account the flow of events which is; a list of arguments -> list2cmdline -> CreateProcess.

----------
components: +Library (Lib) -Benchmarks
resolution: invalid -> 
status: closed -> open

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18649>
_______________________________________


More information about the Python-bugs-list mailing list