[issue13238] Add shell command helpers to shutil module

Antoine Pitrou report at bugs.python.org
Fri Oct 28 17:21:38 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

>  default - str + shutil.quote_ascii_whitespace
>  !q - str + shlex.quote
>  !u - unquoted (i.e. no conversion, str.format default behaviour)

The default doesn't look very understandable to me. Why would you quote only some characters and not all of them?

----------

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


More information about the Python-bugs-list mailing list