Issue 1699594: shlex fails to parse strings correctly (original) (raw)
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/44838
classification
Title: | shlex fails to parse strings correctly | ||
---|---|---|---|
Type: | behavior | Stage: | test needed |
Components: | Library (Lib) | Versions: | Python 2.6 |
process
Status: | closed | Resolution: | works for me |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | Nosy List: | BreamoreBoy, collinwinter, georg.brandl | |
Priority: | normal | Keywords: |
Created on 2007-04-12 22:49 by collinwinter, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (5) | ||
---|---|---|
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. | ||
msg112268 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2010-08-01 06:27 |
How do you reproduce this? The strings seem to work fine with shlex.split(). | ||
msg116661 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2010-09-17 13:29 |
@Georg: seems like your r55549 and r55550 fixed this, am I correct? | ||
msg118794 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2010-10-15 16:13 |
That particular commit can't be the reason, but some other must be. Closing as wfm. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:23 | admin | set | github: 44838 |
2010-10-15 16:13:04 | georg.brandl | set | status: open -> closedresolution: works for medependencies: - shlex.split() does not tokenize like the shellmessages: + |
2010-09-17 13:29:44 | BreamoreBoy | set | nosy: + BreamoreBoymessages: + |
2010-08-01 06:27:25 | georg.brandl | set | nosy: + georg.brandlmessages: + |
2009-03-30 17:04:08 | ajaksu2 | set | dependencies: + shlex.split() does not tokenize like the shelltype: behaviorstage: test neededversions: + Python 2.6, - Python 2.5 |
2007-04-12 22:49:03 | collinwinter | create |