classification
Title: shlex fails to parse strings correctly
Type: behavior Stage: test needed
Components: Library (Lib) Versions: Python 2.6
process
Status: open Resolution:
Dependencies: shlex.split() does not tokenize like the shell
View: 1521950
Superseder:
Assigned To: Nosy List: collinwinter (1)
Priority: normal Keywords

Created on 2007-04-12 22:49 by collinwinter, last changed 2009-03-30 17:04 by ajaksu2.

Messages (2)
msg31767 - (view) Author: Collin Winter (collinwinter) Date: 2007-04-12 22:49
shlex fails to parse

"\!echo \"it's fine\""

and

 "\!echo \"it\'s fine\""

correctly. ValueError("No closing quotation") is raised incorrectly.
msg31768 - (view) Author: Collin Winter (collinwinter) Date: 2007-04-12 22:50
This should probably be fixed at the same time as #1521950.
History
Date User Action Args
2009-03-30 17:04:08ajaksu2setdependencies: + shlex.split() does not tokenize like the shell
type: behavior
stage: test needed
versions: + Python 2.6, - Python 2.5
2007-04-12 22:49:03collinwintercreate