summaryrefslogtreecommitdiffstats
path: root/Lib/shlex.py
Commit message (Collapse)AuthorAgeFilesLines
* - Changed shlex.split() method to have more useful andGustavo Niemeyer2003-04-201-3/+5
| | | | meaningful parameters.
* Use True in a few more places.Neal Norwitz2003-04-171-7/+5
| | | | Use isinstance(somestring, basestring) instead of type() as per PEP 8
* - use Tue/False for booleansFred Drake2003-04-171-9/+8
| | | | - some very minor cleanups
* Implemented posix-mode parsing support in shlex.py, as dicussed inGustavo Niemeyer2003-04-171-24/+108
| | | | mailing list, and in patch #722686.
* Replace boolean test with is None.Raymond Hettinger2002-06-021-4/+4
|
* Unused variable (caught by PyChecker) removed.Eric S. Raymond2001-04-171-1/+0
|
* bunch more __all__ listsSkip Montanaro2001-02-151-0/+2
| | | | | | also modified check_all function to suppress all warnings since they aren't relevant to what this test is doing (allows quiet checking of regsub, for instance)
* Whitespace normalization.Tim Peters2001-01-171-7/+7
|
* Make pop_source and push_source available, as documented.Eric S. Raymond2001-01-161-23/+36
|
* Whitespace normalization.Tim Peters2001-01-151-4/+4
|
* Patch #102953: Fix bug #125452, where shlex.shlex hangs when itAndrew M. Kuchling2001-01-091-0/+5
| | | | | encounters a string with an unmatched quote, by adding a check for EOF in the 'quotes' state.
* Remove superfluous semicolonsAndrew M. Kuchling2000-12-231-6/+6
|
* Make tabnanny happy.Fred Drake2000-07-091-11/+12
| | | | mailbox.py: Convert to 4-space indents.
* Eric S. Raymond <esr@thyrsus.com>:Fred Drake2000-07-031-9/+21
| | | | | | | | | This patch implements relative-path semantics for the "source" facility resembling those of cpp(1), documents the change, and improves the shlex test main to make it easier to test this feature. Along the way, it fixes a name error in the existing docs. [Additional documentation markup changes for consistency by FLD.]
* Eric Raymond:Guido van Rossum2000-05-011-0/+8
| | | | Add a convenience function to generate C-compiler style error leaders.
* Eric Raymond:Guido van Rossum2000-05-011-17/+66
| | | | | | | | | | | | Added and documented the capability for shlex to handle lexical-level inclusion and a stack of input sources. Also, the input stream member is now documented, and the constructor takes an optional source-filename. The class provides facilities to generate error messages that track file and line number. [GvR: I changed the __main__ code so that it actually stops at EOF, as Eric surely intended -- however it returned '' instead of the None he was testing for.]
* The third and final doc-string sweep by Ka-Ping Yee.Guido van Rossum2000-02-041-0/+2
| | | | | | | | The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* No need to import os or string. (Andrew Dalke & kjpylint)Guido van Rossum1999-05-031-1/+1
|
* Get rid of #! lineGuido van Rossum1999-04-091-1/+0
|
* Bug reported by Tobias Thelen: missing "self." in assignment target.Guido van Rossum1999-03-221-1/+1
|
* Adding shlex and netrc by Eric Raymond.Guido van Rossum1998-12-221-0/+119