| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
meaningful parameters.
|
|
|
|
| |
Use isinstance(somestring, basestring) instead of type() as per PEP 8
|
|
|
|
| |
- some very minor cleanups
|
|
|
|
| |
mailing list, and in patch #722686.
|
| |
|
| |
|
|
|
|
|
|
| |
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)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
encounters a string with an unmatched quote, by adding a check for
EOF in the 'quotes' state.
|
| |
|
|
|
|
| |
mailbox.py: Convert to 4-space indents.
|
|
|
|
|
|
|
|
|
| |
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.]
|
|
|
|
| |
Add a convenience function to generate C-compiler style error leaders.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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.
|
| |
|
| |
|
| |
|
|
|