This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: A option that choose between single quote and double quote in shlex.quote
Type: enhancement Stage:
Components: Library (Lib) Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: I-love-study, eric.smith
Priority: normal Keywords:

Created on 2022-01-22 14:35 by I-love-study, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg411258 - (view) Author: I_love_study (I-love-study) Date: 2022-01-22 14:35
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
History
Date User Action Args
2022-04-11 14:59:55adminsetgithub: 90630
2022-01-22 17:34:50eric.smithsetnosy: + eric.smith
2022-01-22 14:35:44I-love-studycreate