summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_shlex.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Issue #16121: Fix line number accounting in shlex"Petri Lehtinen2013-02-231-9/+0
|\
| * Revert "Issue #16121: Fix line number accounting in shlex"Petri Lehtinen2013-02-231-9/+0
| |
* | Issue #16121: Fix line number accounting in shlexPetri Lehtinen2013-02-231-0/+8
|\ \ | |/
| * Issue #16121: Fix line number accounting in shlexPetri Lehtinen2013-02-231-0/+9
| |
* | Avoid unwanted behavior change in shlex.quote (see #9723).Éric Araujo2011-08-091-1/+2
|\ \ | |/ | | | | | | | | | | | | | | | | I simplified the quote code to use a regex instead of a loop+test when I moved pipes.quote to shlex in 5966eeb0457d; Ezio Melotti pointed out that my regex contained redundant parts (now removed) and allowed non-ASCII characters (now disallowed). I think common UNIX shells don’t quote non-ASCII characters, but there’s no harm in doing so. We’ll see if users request a change.
* | Add shlex.quote function, to escape filenames and command lines (#9723).Éric Araujo2011-07-271-2/+18
|/ | | | | | | | This function used to live as pipes.quote, where it was undocumented but used anyway. (An alias still exists for backward compatibility.) The tests have been moved as is, but the code of the function was changed to use a regex instead of a loop with string comparisons (at Ian Bicking’s suggestion). I’m terrible at regexes, so any feedback is welcome.
* Recode modules from latin-1 to utf-8Antoine Pitrou2010-10-271-3/+2
|
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-201-2/+2
|
* Fix test_shlex: Use io.StringIO.Walter Dörwald2007-06-121-7/+2
|
* Whitespace normalization.Tim Peters2003-04-241-2/+2
|
* - Changed shlex.split() method to have more useful andGustavo Niemeyer2003-04-201-7/+3
| | | | meaningful parameters.
* Get test to work under regrtest when running whole suiteNeal Norwitz2003-04-171-1/+6
|
* Implemented posix-mode parsing support in shlex.py, as dicussed inGustavo Niemeyer2003-04-171-0/+191
mailing list, and in patch #722686.