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: Patch to make shlex accept escaped quotes in strings.
Type: Stage:
Components: None Versions:
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: jemfinch, niemeyer
Priority: normal Keywords: patch

Created on 2003-04-12 18:41 by jemfinch, last changed 2022-04-10 16:08 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
shlex.patch jemfinch, 2003-04-12 18:41
Messages (2)
msg43330 - (view) Author: Jeremy Fincher (jemfinch) Date: 2003-04-12 18:41
Shlex currently has no way to escape quoting characters 
within strings.  This fixes that. 
 
No test is provided, but I'll be willing to write a test module to 
test this and the other basic behavior of the shlex module. 
msg43331 - (view) Author: Gustavo Niemeyer (niemeyer) * (Python committer) Date: 2003-06-22 23:06
Logged In: YES 
user_id=7887

Jeremy, shlex.py has been extended to support posix-mode
parsing in 2.3. This should include support for escapings
and other goodies, similar to shells.

Thanks for the patch!
History
Date User Action Args
2022-04-10 16:08:07adminsetgithub: 38295
2003-04-12 18:41:02jemfinchcreate