[New-bugs-announce] [issue46472] A option that choose between single quote and double quote in shlex.quote

I_love_study report at bugs.python.org
Sat Jan 22 09:35:44 EST 2022


New submission from I_love_study <1450069615 at qq.com>:

shlex.quote always use single quote
but in some shell (like Cmd on Windows), single quote cannot be recognized as a shell-escaped string, only double quote can.
So I think a option that can choose between single quote and double quote is better

----------
components: Library (Lib)
messages: 411258
nosy: I-love-study
priority: normal
severity: normal
status: open
title: A option that choose between single quote and double quote in shlex.quote
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46472>
_______________________________________


More information about the New-bugs-announce mailing list