Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Issue #16121: Fix line number accounting in shlex" | Petri Lehtinen | 2013-02-23 | 1 | -9/+0 |
|\ | |||||
| * | Revert "Issue #16121: Fix line number accounting in shlex" | Petri Lehtinen | 2013-02-23 | 1 | -9/+0 |
| | | |||||
* | | Issue #16121: Fix line number accounting in shlex | Petri Lehtinen | 2013-02-23 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | Issue #16121: Fix line number accounting in shlex | Petri Lehtinen | 2013-02-23 | 1 | -0/+9 |
| | | |||||
* | | Avoid unwanted behavior change in shlex.quote (see #9723). | Éric Araujo | 2011-08-09 | 1 | -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 Araujo | 2011-07-27 | 1 | -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-8 | Antoine Pitrou | 2010-10-27 | 1 | -3/+2 |
| | |||||
* | #2621 rename test.test_support to test.support | Benjamin Peterson | 2008-05-20 | 1 | -2/+2 |
| | |||||
* | Fix test_shlex: Use io.StringIO. | Walter Dörwald | 2007-06-12 | 1 | -7/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2003-04-24 | 1 | -2/+2 |
| | |||||
* | - Changed shlex.split() method to have more useful and | Gustavo Niemeyer | 2003-04-20 | 1 | -7/+3 |
| | | | | meaningful parameters. | ||||
* | Get test to work under regrtest when running whole suite | Neal Norwitz | 2003-04-17 | 1 | -1/+6 |
| | |||||
* | Implemented posix-mode parsing support in shlex.py, as dicussed in | Gustavo Niemeyer | 2003-04-17 | 1 | -0/+191 |
mailing list, and in patch #722686. |